Commit 833883f4 by BellCodeEditor

save project

parent 6f16a4f8
Showing with 2 additions and 2 deletions
......@@ -4,4 +4,4 @@
# 方法一:
#file=open(r'/Users/apple/Documents/lesson13-1/sales_list.txt','r',encoding='utf-8')
# 方法二:(注意结尾的英文冒号)
with open(r'/Users/apple/Documents/lesson13-1/sales_list.txt','r',encoding='utf-8') as file:
\ No newline at end of file
with open(r'/C:\Users\lx\Downloads/sales_list.txt','r',encoding='utf-8') as file:
\ 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