Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

Administrator / lesson11_5

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 2f804cbb authored 6 months ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent a3166ed0
Hide whitespace changes
Inline Side-by-side
Showing with 3 additions and 8 deletions
  • t.py
t.py
View file @ 2f804cbb
with open(r'C:\Users\makcoo\Desktop\text.txt','r',encoding='utf-8') as file: with open(r'C:\Users\makcoo\Desktop\',text-txt,encoding='utf-8')as file:
#file.write('学校放寒假!!!') file.write('新年快乐')
#file.write('小强') #file.close()
#file.close()
for i in file:
if '小强' in i:
print('在')
\ No newline at end of file
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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