searching for files on Windows with Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Shane

    #1

    searching for files on Windows with Python

    I've been giving Google a good workout with no luck. I would like to be able to search a Windows filesystem for filenames, returning a list off absolute paths to the found files, something like:

    def findFiles(filen ame, pathToSearch):
    ...
    ...
    return foundFileNames

    Is the os module where I should start?

    Thanks,

    Shane
Working...