On 30 Lip, 23:43, Rohan <[EMAIL PROTECTED]> 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 -- http://mail.python.org/mailman/listinfo/python-list