sybrenUSE at YOURthirdtower.com.imagination
Wed May 3 21:02:42 CEST 2006
Florian Lindner enlightened us with:
> how can I get all subdirectories of a given directories?
> os.listdir() gives me all entries and I've found no way to tell if
> an object is a file or a directory.
Why, doesn't your os.path.isdir() function work?
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
More information about the Python-list