Commit 2d0b1c37 by BellCodeEditor

auto save

parent 876fb942
Showing with 4 additions and 1 deletions
with open(r'd:\Desktop\sales_list.txt','r',encoding='utf-8') as sales_list: with open(r'd:\Desktop\sales_list.txt','r',encoding='utf-8') as sales_list:
a = sales_list.read() a = sales_list.readlines()
print(a) print(a)
print(type(a))
print(type(a[3:5]))
\ 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