Python write a file 📝

Описание к видео Python write a file 📝

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)

Комментарии

Информация по комментариям в разработке