import sys import importlib sys.path.append('../sri-pysdk') methods = importlib.import_module(f"xlib") protobuf = importlib.import_module(f"xprotobuf.protocol_pb2") class Global(object): """ """ # ---服务端口 egoserver_port = 20918 pb = importlib.import_module(f"protobuf.protocol_pb2") # --- 业务数据数据库 --- mdb = importlib.import_module(f"xclient.xmongo").Client(host='127.0.0.1', port=47017, database='bg', username='admin', password='admin')