123456789101112131415 |
- import sys
- import importlib
- sys.path.append('../3rdparty')
- methods = importlib.import_module(f"xlib")
- class Global(object):
- pb = importlib.import_module(f"protobuf.protocol_pb2")
- # emqx = importlib.import_module(f"xclient.xmqtt").Client(host='10.10.61.229', port=41883)
- mdb = importlib.import_module(f"xclient.xmongo").Client(host='58.34.94.178', port=7030, database='bg',
- username='admin', password='admin')
|