2018年9月3日
摘要: # 方法一: cur_root = os.path.split(os.path.abspath(__file__))[0] # 当前模块绝对目录 # 方法二: import inspect cur_root = os.path.split(inspect.getfile(inspect.currentframe()))[0] # 当前模块绝对目录 father_path=os.pa... 阅读全文
posted @ 2018-09-03 11:57 陆小凤的笔记 阅读(82) 评论(0) 推荐(0) 编辑