How to creat a file?

sandorf fanglicheng at gmail.com
Fri Dec 2 07:37:33 EST 2005


I'm new to python. Have a simple question.

"open" function can only open an existing file and raise a IOerror when
the given file does not exist. How can I creat a new file then?




More information about the Python-list mailing list