随笔分类 -  Python

摘要:"https://www.cnblogs.com/victorwu/p/5762931.html" configparser模块提供一套API来读取和操作配置文件 阅读全文
posted @ 2019-02-14 10:46 Genfir 阅读(156) 评论(0) 推荐(0)
摘要:os.path.dirname(__file__) 返回.py文件的绝对路径(完整路径) os.path.absname(__file__)返回.py文件的目录 阅读全文
posted @ 2019-02-14 10:39 Genfir 阅读(268) 评论(0) 推荐(0)