Finding the user's "My Documents" path
<p>Alright so I have this small program and it needs to create a small .txt file in their 'My Documents' Folder. Here's the code thing for that:</p>

<pre><code>    textfile=open('C:\Users\MYNAME\Documents','w')
    lines=['stuff goes here']
    textfile.writelines(lines)
    textfile.close()
</code></pre>

<p>The problem is that if other people uses it, how do i change the 'MYNAME' to their account name?</p>

<p>Sorry if I'm not so clear on my question.</p>
