Python - change directory to a folder based on what day of the week it is
<p>I'm trying to automate an ftp upload with files that are in folders based on the day of the week.  Since today is Tuesday I would like to have the script go to the //server/folder/Tuesday folder, and upload the files in that folder.</p>

<p>I have this:</p>

<pre><code>os.chdir("//MTR-SRV/Creative/CHARGER/Monitor/Out")
cwd = os.getcwd()

print "1", cwd
</code></pre>

<p>but that just gets me to the folder right before the day folder.
I need it to get to //MTR-SRV/Creative/Charger/Monitor/Out/Tuesday (or whatever today's date is)</p>

<p>any ideas?</p>
