How to creat a file?
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? -- http://mail.python.org/mailman/listinfo/python-list
Re: How to creat a file?
Thank to you all, guys. Here's another question: I'm using the Windows version of Python and IDLE. When I debug my .py file, my modification to the .py file does not seem to take effect unless I restart IDLE. Saving the file and re-importing it doesn't help either. Where's the problem? -- http://mail.python.org/mailman/listinfo/python-list
Why my modification of source file doesn't take effect when debugging?
I'm using the Windows version of Python and IDLE. When I debug my .py file, my modification to the .py file does not seem to take effect unless I restart IDLE. Saving the file and re-importing it doesn't help either. Where's the problem? Thanks. -- http://mail.python.org/mailman/listinfo/python-list