Commit 6da55dc2 by BellCodeEditor

auto save

parent 7407cba6
Showing with 913 additions and 0 deletions
filer=open(r"C:\Users\Administrator\Desktop\分数lol.txt","w",encoding="utf-8",)
filer.write("张三语文:88分,张三数学:89分,张三英语:98分\n")
filer.write("李四语文:88分,李四数学:89分,李四英语:98分\n")
filer.close()
\ No newline at end of file
...@@ -7,3 +7,911 @@ ...@@ -7,3 +7,911 @@
with open(r"C:\Users\Administrator\Desktop\114514\book.txt","r",encoding="utf-8")as filer: with open(r"C:\Users\Administrator\Desktop\114514\book.txt","r",encoding="utf-8")as filer:
a=filer.read() a=filer.read()
print(a) print(a)
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