Commit f76b29ad by BellCodeEditor

save project

parent 08b59e0c
Showing with 4 additions and 8 deletions
with open(r'\Users\Administrator\Documents\lesson13-1\sales_list.txt','r',encoding='utf-8') as gfs: with open(r'\Users\Administrator\Documents\lesson13-1\sales_list.txt','r',encoding='utf-8')as g:
a=gfs.read() a=g.read()
print(gfs) print(a)
\ 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