摘要: 1. path1 = os.path.dirname(__file__) 2. print(path1)#获取当前运行脚本的绝对路径 3. path2 = os.path.dirname(os.path.dirname(__file__)) # 4. print(path2)#获取当前运行脚本的绝对 阅读全文
posted @ 2018-03-20 10:49 未来分析师 阅读(296) 评论(0) 推荐(0)