finding/counting files
Bjorn Pettersen
bjorn at roguewave.com
Fri Jul 28 15:19:09 EDT 2000
jesse at multimediacollective.com wrote:
>
> What would the proper command be for finding a file within a
> folder? I want my program to check to see if there is a folder
> called 'test.txt' in the folder, and if there is, count the number of
> files in that folder. What commands would I use for both these
> problems?
You want the os module. The friendly manual will tell you all about
it...
-- bjorn
More information about the Python-list
mailing list