摘要: import os 当前程序的执行路径: os.path。abspath('.') 上级路径: os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) 上级路径的父路径: os.path.abspath(os.path. 阅读全文
posted @ 2018-01-11 14:52 python许三多 阅读(226) 评论(0) 推荐(0)