Directory
markacy
markacy at gmail.com
Tue Jul 31 03:38:47 EDT 2007
On 30 Lip, 23:43, Rohan <vodela.... at gmail.com> 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,
http://diveintopython.org/file_handling/os_module.html
Hope this helps,
Cheers,
Marek
More information about the Python-list
mailing list