Commit 455eb51c by BellCodeEditor

save project

parent 06e30882
Showing with 5 additions and 2 deletions
with open(r"C:\Users\6\Desktop\text.txt",'w',encoding="utf-8") as file1:
file1.write("welcome to phigros!\n")
with open(r"C:\Users\6\Desktop\text.txt",'a',encoding="utf-8") as file1:
file1.write("下面将进行基本的玩法教学")
\ No newline at end of file
file1.write("下面将进行基本的玩法教学")
with open(r"C:\Users\6\Desktop\text.txt",'r',encoding="utf-8") as file1:
a=file1.read()
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