摘要: import re ab='''ms: [["", "\u7acb\u5373\u4e0b\u8f7d"], ["", "\u5207\u6362\u81f3\u4e2a\u4eba\u8d26\u53f7\u4e0b\u8f7d"],''' ab=re.sub(r' +','',ab) #将ab中 阅读全文
posted @ 2020-02-17 15:35 myrj 阅读(152) 评论(0) 推荐(0)
摘要: pip install python.docx from docx import DocumentDoc = Document() 解释:from 从 docx这个文件中,导入一个叫Document的一个东西,Document是文档的意思,所以它是对word文档进行操作的一个玩意. 在下面Doc = 阅读全文
posted @ 2020-02-17 07:14 myrj 阅读(195) 评论(0) 推荐(0)