Python 获取脚本路径以及脚本所在文件夹路径
摘要:
import os script_path = os.path.realpath(__file__) script_dir = os.path.dirname(script_path) 阅读全文
posted @ 2016-05-30 02:06 norsd 阅读(421) 评论(0) 推荐(0)
posted @ 2016-05-30 02:06 norsd 阅读(421) 评论(0) 推荐(0)