[IPython-user] Unable to delete files accessed by iPython
Dr. Phillip M. Feldman
Thu Jul 30 14:09:23 CDT 2009
Try the following:
This last command should generate something like the following:
Out: <closed file 'junk', mode 'w' at 0x023FEB18>
Then try to delete the file junk from outside Python. This should work.
> Perhaps this either a Python or iPython newbie question, but I am unable
> to delete a File that was created by a py file. I follow the
> file.open(blah) and blah.close() conventions within the file.
> I am able to delete the file if I close out the instance of iPython.
> Thanks in advance,
View this message in context: http://www.nabble.com/Unable-to-delete-files-accessed-by-iPython-tp24227522p24745482.html
Sent from the IPython - User mailing list archive at Nabble.com.
More information about the IPython-user