title: Python create folders structure based on current date
body: <p>i'm using the following var on my script to send output to one </p>
  
  <pre><code>output = "/opt/output"
  </code></pre>
  
  <p>i want to adjust it to make the output relative to the date current date of trigger the script it should be structured like this</p>
  
  <pre><code>output = "/opt/output/year/month/day"
  </code></pre>
  
  <p>i'm not sure if i'm using the correct way here i used the following approach </p>
  
  <pre><code>output = "/opt/output/" + today.strftime('%Y%m%d')
  </code></pre>
  
  <p>any tips here</p>