Commit b1217a57 by BellCodeEditor

save project

parent 2c7135b9
Showing with 3 additions and 3 deletions
with open(r\c:usere\CM\Deckto\test.txt','r', with open(r\c:usere\CM\Deckto\test.txt','r',encoding='utf-8')as filel:
encoding='utf-8')as filel:
for data in file1: for data in file1:
if'小强: 10' in data: if'小强:10' in data:
peint('数据在文件中') peint('数据在文件中')
\ 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