import os, sys lib_path = os.path.abspath(os.path.join('../../')) sys.path.append(lib_path) print('sys.path:',sys.path)
搜索
复制