title: How can I generate a file with today's date in its name?
body: <p>I have seen several post like this but nobody actually answer the question straight to the point.</p>
  
  <p>I'm creating a file in Python like this:</p>
  
  <pre><code>f = open('myfile.extension','w')    
  </code></pre>
  
  <p>What should I add to this line to add the date in the filename?</p>
  
  <p>I'm using <code>import time</code> and I can get any current date in any other part of my script, but I don't know how to add the date...</p>