On 07/13/2012 11:00 AM, Prasad, Ramit wrote:
Well "neat tricks" aside, I am of the firm belief that deleting files should
never be possible whilst they are open.
This is one of the few instances I think Windows does something better
than OS X. Windows will check before you attempt to delete (i.e. move
to Recycling Bin) while OS X will move a file to Trash quite happily
only tell me it cannot remove the file when I try to empty the Trash.
While I was trained in the Unix way, and believe it is entirely
appropriate to delete an open file. Even if I my program is the opener.
It's just too handy to have temp files that disappear on their own.
As opposed to periodically going to %TEMP% and deleting them manually. Gah.
-- Chris.
--
http://mail.python.org/mailman/listinfo/python-list