Commit 0f2e6336 by BellCodeEditor

auto save

parent 5ec53ebb
Showing with 7 additions and 0 deletions
with open(r"sales_list.txt","r",encoding="utf-8") as f:
a=f.readlines()
print(a)
\ No newline at end of file
with open(r"C:\Users\HUAWEI\Desktop\wwx.txt","a",encoding="utf-8") as f:
f.write("1,2,3,4\n")
f.write("5,6,7,8\n")
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