摘要: import os # 设置文件夹路径,假设所有m文件都在这个文件夹内 folder_path = os.getcwd() # 设置输出文件的名称 output_file = 'merged_files.txt' # 打开输出文件准备写入 with open(output_file, 'w') as 阅读全文
posted @ 2024-11-13 18:59 redufa 阅读(14) 评论(0) 推荐(0)