os.path.isdir(file)
Lou
On 5/4/06, Philippe Martin <[EMAIL PROTECTED]> wrote:
Hi,
The second edition of "Programming Python - O'REILLY - Mark Lutz" shows how
to do that using "os.path.walk"
Philippe
Florian Lindner wrote:
> Hello,
> 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.
>
> Thanks,
>
> Florian
--
http://mail.python.org/mailman/listinfo/python-list
--
Artificial Intelligence is no match for Natural Stupidity
-- http://mail.python.org/mailman/listinfo/python-list