Commit 10aecb24 by BellCodeEditor

save project

parent 93aa177a
Showing with 3 additions and 3 deletions
...@@ -7,5 +7,6 @@ ...@@ -7,5 +7,6 @@
# file1.write("李文:9\n") # file1.write("李文:9\n")
# file1.close() # file1.close()
file1=open(r"C:\\Users\\Administrator\\Desktop","r",encoding="utf-8") file1=open(r"C:\\Users\\Administrator\\Desktop","r",encoding="utf-8")
a=file1.read() data=file1.read()
print(a) for data in file1:
\ No newline at end of file print(data)
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