Commit 0df71ef5 by BellCodeEditor

save project

parent 4bd2b873
Showing with 5 additions and 0 deletions
with open(r'C:\Users\Administrator\Desktop\text.txt',"r",encoding="utf-8") as file1:
for i in file1:
if '小王:12'in i:
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