摘要: 文件拆分脚本 每隔两行拆分成一个新文件。 import os with open('Main.java', 'r', encoding='UTF-8') as file: file_content = file.read() file_parts = file_content.split('\n\n 阅读全文
posted @ 2024-06-17 21:42 lightmon 阅读(4) 评论(0) 推荐(0) 编辑