os independent temp dir?

Owen F. Ransen ransen_spam_me_not at nemo.it
Wed May 9 12:22:14 EDT 2001


On Tue, 08 May 2001 11:33:47 -0700, "Julio F. Schwarzbeck"
<jflores at codeit.com> wrote:

>import tempfile
>tmpDir = tempfile.tempdir
>
>If TMPDIR os environment var is not set, None is return, works in Linux & 
>Win afaik.

I had already tried that, and on my Windows machine
returns None. I was hoping for something like
C:\Windows\Temp , which does exist on my machine.

I will need it for the Mac too... :(


--
Owen F. Ransen
http://www.ransen.com/
Home of Gliftic & Repligator Image Generators



More information about the Python-list mailing list