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 c641f2fd authored a year ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent 3cdf4efd c114298l961p219a10037/wx090203
Show whitespace changes
Inline Side-by-side
Showing with 13 additions and 0 deletions
  • __pycache__/diy.cpython-37.pyc
  • __pycache__/gh.py
  • diy.py
  • diy1.py
__pycache__/diy.cpython-37.pyc 0 → 100644
View file @ c641f2fd
File added
This diff is collapsed. Click to expand it.
__pycache__/gh.py 0 → 100644
View file @ c641f2fd
file=open(r'C:\Users\Administrator\Desktop\test.txt','w',encoding='utf-8')
file.write("晓岚 1000本\n")
file.close()
with open(r'C:\Users\Administrator\Desktop\test.txt','a',encoding='utf-8') as file:
file.write("秽土瑟奇 4000本\n")
file.write("千手帝君 6000本\n")
new_data=""
with open(r'C:\Users\Administrator\Desktop\test.txt','a',encoding='utf-8') as file1:
for data in file1:
if '秽土瑟奇 6500本\n'in date:
data=data.replace("秽土瑟奇 4000本","秽土瑟奇 6500本")
new_data+=data
This diff is collapsed. Click to expand it.
diy.py
View file @ c641f2fd
print('yu','fu')
def new_input( ):
total=[]
while True:
......
This diff is collapsed. Click to expand it.
diy1.py
View file @ c641f2fd
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