Commit e8c7e122 by BellCodeEditor

save project

parent 09f34a65
Showing with 3 additions and 2 deletions
......@@ -10,8 +10,9 @@
#a.append('狗子:14本\n')
#a.close()
with open(r"C:\Users\稚慧人生\Desktop\lsp.txt","r",encoding='utf-8')as a:
a=a.read()
print(a)
for data in a:
if '狗子:14本' in data:
print('有')
......
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