I have the following code which list out all the files/directories
under the current directory.

But how can I find out if 'f' is a directory?

for f in os.listdir("."):
     // how can I check if 'f' a directory?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to