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