closing all files when program terminates

jschmitt at jschmitt at
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?



Sent via
Before you buy.

More information about the Python-list mailing list