Commit 89884609 by BellCodeEditor

save project

parent 59f687ca
Showing with 13 additions and 0 deletions
#with open(r'C:\Users\David\Desktop\捐赠明细.txt','r',encoding='utf-8')as file1:
#file1.write('牢大:12本\n')
#file1.write('蔡徐坤:11本\n')
#file1.write('敲离蛙:9本\n')
#file1.write('SuperBoy:16本\n')
#file1.write('我嘞个骚缸:13本\n')
#a=file1.read()
#print(a)
with open(r'C:\Users\David\Desktop\捐赠明细.txt','r',encoding='utf-8')as file1:
for data in file1:
if'我嘞个骚缸:13本'in data:
print('数据在文件中')
\ 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