Thanks for the tip on strace. I will look into it. I only have a tempfile object: tmp = tempfile.mkstemp(dir="/var/tmp/") I will try to explicitly call a close() or whatever the syntax is to finalize the object to deletion by garbage collection. Thanks, Kenny