chevah/commons — pull request #13 by alibotean (2012-12-11 15:08:58+00:00)
Title: #862 Get dynamic temporary folder

The Temp folder on Windows is Hardcoded to c:\Temp, we need to look into using LoadUserProfile? , or tempfile.getTempDir().

This is also somehow related to hardcoded paths in Windows.

We should use tempfile.gettempdir() for nt_filesystem just like we do in unix_filesytem.

I did a quick test on Windows and it looks like gettempdir works on Windows

```python
>>> import tempfile
>>> tempfile.gettempdir()
'c:\\users\\chevah\\appdata\\local\\temp'
```

We need a test in commons for gettempdir.