Python3:Save File to Specified Location
<p>I have a rather simple program that writes HTML code ready for use. </p>

<p>It works fine, except that if one were to run the program from the Python command line, as is the default, the HTML file that is created is created where <strong>python.exe</strong> is, not where the program I wrote is. And that's a problem.   </p>

<p>Do you know a way of getting the <code>.write()</code> function to write a file to a specific location on the disc <code>(e.g. C:\Users\User\Desktop)?</code> </p>

<p>Extra cool-points if you know how to open a file browser window.</p>
