weip

RasterProxies tempfile.NamedTemporaryFile different answer

Discussion created by weip on Jul 4, 2011
Hello,All

I met an interested question.

I use os.path.dirname(tempfile.NamedTemporaryFile().name) get the temp folder name. But the result is returned two different results,one is from PythonWin, I think it returns correct answer. But the other one is strange, when I run the tool using the same python scipt, it returns temp folder is temp\rasterproxies.

Any idea?

Thanks

Outcomes