Commit beeefd94 by BellCodeEditor

save project

parent 11f88dbf
Showing with 7 additions and 2 deletions
with open(r'C:\Users\cM\Desktop\book.txt','w',encoding='utf'-8) as file
a=file.readlines()
for i in a:
print(i)
...@@ -11,8 +11,8 @@ with open(r'C:\Users\cM\Desktop\book.txt','w',encoding='utf'-8) ...@@ -11,8 +11,8 @@ with open(r'C:\Users\cM\Desktop\book.txt','w',encoding='utf'-8)
with open(r'C:\Users\cM\Desktop\book.txt','w',encoding='utf'-8) as filel: with open(r'C:\Users\cM\Desktop\book.txt','w',encoding='utf'-8) as filel:
filel.write(new_data) filel.write(new_data)
with open(r'C:\Users\cM\Desktop\book.txt','w',encoding='utf'-8) as filel: witpen(r'C:\Users\cM\Desktop\book.txt','w',encoding='utf'-8) as filel:
a=filel.read() a=fih olel.read()
print(a) print(a)
......
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