Tim, Unfortunately my previous message was premature, it seems your workaround doesn't work either on my system (Windows XP, Python 2.5.1) I get the following printed out
Traceback (most recent call last): File "C:\TextTest\processown.py", line 12, in <module> os.remove ("filename") WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'filename' close failed: [Errno 9] Bad file descriptor Any ideas? Geoff -- http://mail.python.org/mailman/listinfo/python-list