Commit 99552f86 by BellCodeEditor

save project

parent 5ec53ebb
Showing with 13 additions and 0 deletions
with open(r"c:\Users\admin\Desktop\sales_list.txt","r",encoding="utf-8")as file:
a=file.readlines()
for i in a:
i.split()
print(i)
\ No newline at end of file
with open(r"C:\Users\admin\Desktop\text.txt","w",encoding="utf-8")as file:
file.write("锦瑟\n")
file.write("宋 李商隐\n")
with open(r"C:\Users\admin\Desktop\text.txt","r",encoding="utf-8")as file:
for date in file:
if ""
\ 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