Commit 08b59e0c by BellCodeEditor

auto save

parent 1bcb1e2e
Showing with 8 additions and 4 deletions
with open(r'\Users\Administrator\Documents\lesson13-1\sales_list.txt','w',encoding='utf-8') as gfs: with open(r'\Users\Administrator\Documents\lesson13-1\sales_list.txt','r',encoding='utf-8') as gfs:
a=gfs.write() a=gfs.read()
print(a) print(gfs)
\ No newline at end of file \ No newline at end of file
with open(r'\Users\Administrator\Documents\lesson13-1\sales_list.txt','w',encoding='utf-8') as gfs:
a=gfs.write()
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