Commit 50b3e48c by BellCodeEditor

save project

parent 0d92b3f5
Showing with 4 additions and 3 deletions
...@@ -6,5 +6,6 @@ ...@@ -6,5 +6,6 @@
# t.write("张伟:16本 \n") # t.write("张伟:16本 \n")
# t.close() # t.close()
with open(r"C:\Users\Administrator\Desktop\新建文本文档.txt","a",encoding="utf-8") as file: with open(r"C:\Users\Administrator\Desktop\新建文本文档.txt","r",encoding="utf-8") as file:
file.write("ui:0本\n") a=file.read()
\ No newline at end of file print(a)
\ 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