os.tmpfile() -> permission denied (Win XP)

Gabriel Genellina gagsl-py at yahoo.com.ar
Sun Feb 11 00:15:21 EST 2007


En Sun, 11 Feb 2007 01:57:52 -0300, John Machin <sjmachin at lexicon.net>  
escribió:

> | >>> os.tmpfile()
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> OSError: [Errno 13] Permission denied
>
> 1. Before I start checking what permissions who has to do what to
> which, what directory is it likely to be trying to open the temp file
> in? C:\WINDOWS\TEMP....?

You could analyze the source, but usually I find easier to use FILEMON:
http://www.sysinternals.com

-- 
Gabriel Genellina




More information about the Python-list mailing list