摘要: 在Python中拷贝文件可以使用shutil模块 import shutil # 源文件路径 src_file = '/path/to/source/file.txt' # 目标文件路径 dst_file = '/path/to/destination/file.txt' # 使用shutil模块的 阅读全文
posted @ 2023-10-01 12:33 西北逍遥 阅读(39) 评论(0) 推荐(0) 编辑