How do I get number of files in a particular directory.

blur959 blur959 at hotmail.com
Fri Aug 13 03:54:40 EDT 2010


Hi, all, Is there a way to get a number of files in a particular
directory? I tried using os.walk, os.listdir but they are return me
with a list, tuple of the files, etc. But I want it to return a
number. Is it possible?



More information about the Python-list mailing list