File \"C:\\Users\\Administrator\\Documents\\Mibot\\oops\\blinkserv.py\", line 82, in __init__ self.serv = socket(AF_INET,SOCK_STREAM) TypeError: \'module\' objec
Add to the main __init__.py in YourClassParentDir, e.g.:
__init__.py
from .YourClass import YourClass
Then, you will have an instance of your class ready when you import it into another script:
from YourClassParentDir import YourClass