This returns me a shortcut (DOS convention) (on Windows):
import tempfile tempDir = tempfile.mkdtemp() print tempDir Output >>> c:\users\admini~1\appdata\local\temp\tmpf76unv
Pay attention to admini~1 .
How can I get / convert this to the full path? e.g. C: \ Users \ Admin \ AppData ...
python windows path
Andy arismendi
source share