摘要: 笔记一:os.path的用法:1. os.path.dirname(__file__) 返回当前脚本的执行路径,__file__为固定参数2. os.path.abspath(file) 返回文件在当前环境中的绝对路径3. os.path.join(basedir, file) 将file的路径设置 阅读全文
posted @ 2017-06-14 21:57 越泽 阅读(362) 评论(0) 推荐(0) 编辑