Juliano Freitas wrote: > how can i get just the directories in other directorie without a files > using the os module in Python?? You can test using os.path.isdir, for example: >>> import os >>> [x for x in os.listdir('.') if os.path.isdir(x)] Jeffrey