Advertisement
molendzik

Odczyt i zapis do pliku - zadanie 3

Dec 9th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. fo = open("x.txt", "w")
  2. fo.write("Programowanie jest fajne")
  3. fo.close()
  4.  
  5. text = open("x.txt").read()
  6. print (text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement