+ 1

Can you explain me about how to create a file in Python?

Moreover first explain me can we create a file in Python? If yes then how?

25th Apr 2019, 6:42 AM
Prabhusakti Nayak
Prabhusakti Nayak - avatar
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
25th Apr 2019, 6:55 AM
HonFu
HonFu - avatar
+ 2
If you use open with a name of a non existing file it will create a new file.
25th Apr 2019, 11:06 AM
Raphael Gad