摘要: 在终端中输入 pip freeze >requirements.txt 阅读全文
posted @ 2021-09-24 11:59 CodeYaSuo 阅读(66) 评论(0) 推荐(0) 编辑
摘要: for path, file_dir, files in os.walk(r'指定路径'): for file_name in files: print(os.path.join(path, file_name)) 阅读全文
posted @ 2021-09-24 09:33 CodeYaSuo 阅读(68) 评论(0) 推荐(0) 编辑