Commit d66a8c45 by BellCodeEditor

save project

parent 6ad7b2d8
Showing with 9 additions and 4 deletions
# filte1 = open(r"C:\Users\Administrator\Desktop\text.txt",'a',encoding="utf-8") # filte1 = open(r"C:\Users\Administrator\Desktop\text.txt",'a',encoding="utf-8")
# file1.write("ydgydg") # file1.write("ydgydg")
# file1.close() # file1.close()
a = open (r'C:\Users\Administrator\Desktop\text.txt',"r",encoding="utf-8") #
b=a.read()
if "ydgydg" in b:
print("gfyfddd")
with open (r'C:\Users\Administrator\Desktop\text.txt',"r",encoding="utf-8") as file1
file1.write(new_data)
\ 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