Commit de016505 by BellCodeEditor

auto save

parent 5b1aa188
Showing with 3 additions and 2 deletions
with open(r'C:\Users\15080\Desktop\新建 DOC 文档 (2).doc'.txt,"r",encoding="utf-8") as file:
with open(r'C:\Users\15080\Desktop\新建文件夹 (2)\新建 DOC 文档.doc".txt',"r",encoding="utf-8") as file:
a=file.readlines()
ass=[]
......@@ -10,5 +10,5 @@ for i in a:
result=data[0]+str(sum)+'\n'
ass.append(result)
with open(r'C:\Users\15080\Desktop\新建 DOC 文档 (2).doc'.txt,"a",encoding="utf-8") as file:
with open(r'C:\Users\15080\Desktop\新建文件夹 (2)\新建 DOC 文档.doc".txt',"a",encoding="utf-8") as file:
file.writelines(ass)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment