Commit bb1dcca7 by BellCodeEditor

save project

parent 575b169b
Showing with 6 additions and 4 deletions
p_s = "c:\\Users\\EDZ\Documents\\lesson13-1\\sales_list.txt" p_s = "c:\\Users\\EDZ\Documents\\lesson13-1\\sales_list.txt"
with open(p_s,"r",encoding = "utf-8") as file: with open(p_s,"r",encoding = "utf-8") as file:
a = file.read() list_a = file.readlines()
print(a) # print(a)
for i in list_a:
print(i)
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