Commit 355a497a by BellCodeEditor

save project

parent dc22b1a3
Showing with 14 additions and 0 deletions
# '''
# filel = open(r'C:\Users\Administrator\Desktop\姓陈的人是SB.txt','a',encoding='utf-8')
# filel.write('小兰:12本\n')
# filel.write('小强:10本\n')
# filel.write('李明:12本\n')
# filel.write('sb:123\n')
# filel.close()
# '''
with open(r'C:\Users\Administrator\Desktop\姓陈的人是SB.txt','r',encoding='utf-8')as filel:
for i in filel:
if "sb:123" in i:
print("666")
\ 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