Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- text_file = open("nowy_plik.txt", "w")
- text_file.write("Wiersz 1\n")
- text_file.write("Wiersz 2\n")
- text_file.write("Wiersz 3\n")
- text_file.close()
- text_file = open("nowy_plik.txt", "r")
- print(text_file.read())
- text_file.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement