closing all files when program terminates

jschmitt at vmlabs.com jschmitt at vmlabs.com
Sat Nov 4 00:39:39 CET 2000


I run this Python program that creates files.  If I use CONTROL-C to
abort the Python program, I can't delete the files the Python program
opens.  Win2K says that there has been a sharing violation.  Is there a
way to close/release all file resources that have opened when the
program terminates unexpectedly?

Thanks.

John


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list