detect if file or dir

pedro pedro at athlet.de
Wed Jul 11 18:47:38 EDT 2001


hi,

how can i detect if sth. is a file or a directory? exists(directory)
does tell me if sth. is a directory but exits my script wenn it hits a
file.

thx
pedro



More information about the Python-list mailing list