43 """ |
43 """ |
44 self.services = {} |
44 self.services = {} |
45 self.batchServices = {} |
45 self.batchServices = {} |
46 |
46 |
47 self.connection = socket.create_connection((host, port)) |
47 self.connection = socket.create_connection((host, port)) |
48 ver = b'Python2' if sys.version_info[0] == 2 else b'Python3' |
48 ver = b'Python3' |
49 self.connection.sendall(ver) |
49 self.connection.sendall(ver) |
50 self.__maxProcs = maxProcs |
50 self.__maxProcs = maxProcs |
51 |
51 |
52 def __initClientService(self, fn, path, module): |
52 def __initClientService(self, fn, path, module): |
53 """ |
53 """ |