how to get all folder only in a given path in python?
<p>i'm using this code to get all files in a given folder. Is there a way to get only the folders ?</p>

<pre><code>a = os.listdir('Tools')
</code></pre>
