Commit d044d7b9 by BellCodeEditor

save project

parent 1412296c
Showing with 7 additions and 1 deletions
......@@ -6,5 +6,10 @@ file=open(r'C:\Users\makcoo\Desktop\test.txt','a',encoding='utf-8')
file.write('G')
file.close()
with open(r'C:\Users\makcoo\Desktop\test.txt','w',encoding='utf-8') as:
with open(r'C:\Users\makcoo\Desktop\test.txt','a',encoding='utf-8') as file:
file.write('gggggg')
file=open(r'C:\Users\makcoo\Desktop\test.txt','r',encoding='utf-8')
q=file.read()
print(q)
file.close()
\ 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