Commit 280fb2cb by BellCodeEditor

save project

parent 19fbf8e1
Showing with 15 additions and 10 deletions
with open(r) as filel:
\ No newline at end of file
with open(r'd:\新建文件夹\OneDrive\桌面\sales-lst.txt','r',encoding='utf-8') as file:
a=file.readlines()
for i in a:
data=i.split()
print(data[1:])
\ No newline at end of file
#txt='welcome to txt.split()
#(new_txtthe bellcode'
#new_txt=)
num='13.15.21.9.14.22'
new_num=num.split('.')
print(new_num)
\ No newline at end of file
with open(r'd:\新建文件夹\OneDrive\桌面\sales-lst.txt','r',encoding='utf-8') as filel:
a=file.readlines()
#prin(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