Commit 49ab7ee5 by BellCodeEditor

save project

parent 43b07253
Showing with 1 additions and 5 deletions
...@@ -3,7 +3,4 @@ ...@@ -3,7 +3,4 @@
file=open(r"C:\Users\GT\Desktop\叶祺恺最帅.txt","w",encoding="utf-8") file=open(r"C:\Users\GT\Desktop\叶祺恺最帅.txt","w",encoding="utf-8")
file.write("叶祺恺最帅") file.write("叶祺恺最帅")
file.close() file.close()
with open(r"C:\Users\GT\Desktop\叶祺恺最帅.txt","r",encoding="utf-8") as file: with open(r"C:\Users\GT\Desktop\叶祺恺最帅.txt","a",encoding="utf-8")as file2
for i in file:
if "叶祺恺最帅" in i:
print("gfyrevd fgh")
\ 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