摘要:
import os from docx import Document # 创建新的空文档 merged_doc = Document() # 循环遍历所有.docx文件并将其合并到新文档中 for filename in os.listdir('.'): if filename.endswith( 阅读全文
摘要:
#!/usr/bin/env python # -*- encoding: utf-8 -*- # here put the import lib import os import subprocess import random import string def rename_mp4_files 阅读全文
摘要:
import json def txt_to_json(file_path): with open(file_path, "r") as file: lines = file.readlines() data = {} for line in lines: key, value = line.str 阅读全文