title: How to get long file system path from python on Windows
body: <p>This returns me a short path (DOS convention) (on Windows):</p>
  
  <pre><code>import tempfile
  tempDir = tempfile.mkdtemp()
  print tempDir
  
  Output &gt;&gt;&gt; c:\users\admini~1\appdata\local\temp\tmpf76unv
  </code></pre>
  
  <p>Notice the <code>admini~1</code>. </p>
  
  <p>How can I get/convert this to a full path? e.g. C:\users\administrator\appdata...</p>