Commit 5ce4e257 by BellCodeEditor

save project

parent 4eee26e4
Showing with 3 additions and 5 deletions
with open(r'c:\Users\p6555\Desktop\sales_list.txt','r',encoding='utf_8')as file:
a=file.readlines()
a=['qwe\n','ert\n']
with open(r'c:\Users\p6555\Desktop\2.txt','a',encoding='utf_8')as file:
file.writelines(a)
# print(a)
for i in(a):
print(i)
\ 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