File \"C:\\Users\\Administrator\\Documents\\Mibot\\oops\\blinkserv.py\", line 82, in __init__ self.serv = socket(AF_INET,SOCK_STREAM) TypeError: \'module\' objec
I guess you have overridden the builtin function/variable or something else "module" by setting the global variable "module". just print the module see whats in it.