摘要: 发现了遍历文件夹下文件更简单的方法库了,激动。 你就看看代码相比os模块有多简单: root = Path("./try—_python") new_dir = root/Path("test") # 这句话相当于 new_dir = os.path.join(root, 'test') print 阅读全文
posted @ 2019-12-08 22:25 天马行宇 阅读(357) 评论(0) 推荐(0) 编辑