markacy markacy at
Tue Jul 31 09:38:47 CEST 2007

On 30 Lip, 23:43, Rohan <vodela.... at> wrote:
> I would like to get a list of sub directories in a directory.
> If I use os.listdir i get a list of directories and files in that .
> i only want the list of directories in a directory and not the files
> in it.
> anyone has an idea regarding this.

Hi Rohan,

Hope this helps,


More information about the Python-list mailing list