41 ver = b'Python2' if sys.version_info[0] == 2 else b'Python3' |
41 ver = b'Python2' if sys.version_info[0] == 2 else b'Python3' |
42 self.connection.sendall(ver) |
42 self.connection.sendall(ver) |
43 |
43 |
44 def __initClientService(self, fn, path, module): |
44 def __initClientService(self, fn, path, module): |
45 """ |
45 """ |
46 Import the given module and register it as service. |
46 Private method to import the given module and register it as service. |
47 |
47 |
48 @param fn service name to register (str) |
48 @param fn service name to register (str) |
49 @param path contains the path to the module (str) |
49 @param path contains the path to the module (str) |
50 @param module name to import (str) |
50 @param module name to import (str) |
51 @return text result of the import action (str) |
51 @return text result of the import action (str) |