动态获取工程的目录,当前路径加载到环境变量
摘要:import sys,os动态获取工程的目录BASE_PATH=os.path.dirname(os.path.abspath(__file__))BASE_PATH2=os.path.dirname(os.path.dirname(os.path.abspath(__file__)))#sys.p
阅读全文
posted @ 2019-05-21 20:43
posted @ 2019-05-21 20:43
posted @ 2019-05-11 11:40