Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #считали данные
- file = open('f.txt','r',encoding='utf-8')
- A = file.readline()
- file.close()
- #запишем данные
- file = open('f.txt','w',encoding='utf-8')
- file.write('Привет, питон!')
- file.close()
Advertisement
Add Comment
Please, Sign In to add comment