How can I create directories recursively?
<p>Is there a Python method to create directories recursively? I have this path:</p>

<pre><code>/home/dail/
</code></pre>

<p>I would like to create</p>

<pre><code>/home/dail/first/second/third
</code></pre>

<p>Can I do it recursively or I have to create one directory after the other?</p>

<p>The same thing for:</p>

<p><strong>chmod</strong> and <strong>chown</strong> can I do it recursively without assign permissions for each file/dir?</p>

<p>Thank you!</p>
