Python writing files tutorial example explained
#python #writing #files
text = "Yooooooooo\nThis is some text\nHave a good one!\n"
with open('test.txt','w') as file:
file.write(text)
Published 2020-12-21 · Watch on YouTube ↗ Availability and playback restrictions are controlled by the original channel.