摘要: """获取当前目录"""print(os.getcwd())print(os.path.abspath(os.path.dirname(__file__)))"""获取上一级目录"""print(os.path.abspath(os.path.dirname(os.path.dirname(__fi 阅读全文
posted @ 2020-11-14 22:14 行走的小z 阅读(6732) 评论(0) 推荐(0) 编辑