In article <[EMAIL PROTECTED]>,
"Wesley Henwood" <[EMAIL PROTECTED]> wrote:
>I've checked and double checked my code and I am closing all files
>explicitly after opening them.
If you're running your program under Linux, a very easy way to confirm
this is to look in the directory
/proc/<pid>/fd
where <pid> is the PID of your running program. In here you will see a
symlink to every file your program has open, the name of the link being
the file descriptor number.
To make it easier to watch, you may want to stick in a sleep of a few
seconds in-between iterations of the code that executes the Python
script.
If you see the entries piling up in this directory, that will confirm
that you're not closing those files.
--
http://mail.python.org/mailman/listinfo/python-list