On Feb 11, 4:15 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Sun, 11 Feb 2007 01:57:52 -0300, John Machin <[EMAIL PROTECTED]> > 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,
I have already followed the twisty little passages: os.tmpfile() is really nt.tempfile(), but there is no Modules/ntmodule.c (Modules/ posixmodule.c does a Jekyll & Hyde trick). (nt|posix)module calls tmpfile(), which is (as I mentioned) in the C stdio library. How can I analyse the source of that? Have Microsoft had a rush of blood to the head and gone open source overnight?? > but usually I find easier to use FILEMON:http://www.sysinternals.com Thanks, I'll try that. Cheers, John -- http://mail.python.org/mailman/listinfo/python-list