2 Answers
+ 3
Take a look at this; I remember having looked there a few times in the beginning.
https://www.pythonforbeginners.com/files/reading-and-writing-files-in-JUMP_LINK__&&__python__&&__JUMP_LINK
+ 2
If you use open with a name of a non existing file it will create a new file.