%USERPROFILE% env variable for python
<p>I am writing a script in Python 2.7.</p>

<p>It needs to be able to go whoever the current users profile in Windows. </p>

<p>This is the variable and function I currently have: </p>

<pre><code>import os
desired_paths = os.path.expanduser('HOME'\"My Documents")
</code></pre>

<p>I do have doubts that this <code>expanduser</code> will work though. I tried looking for Windows Env Variables to in Python to hopefully find a list and know what to convert it to. Either such tool doesn't exist or I am just not using the right search terms since I am still pretty new and learning.</p>