On Thu, 12 May 2005, Richard gelling wrote:
> fileToSearchFor = raw_input( "Type in the file name you want to search
> for: ")
>
> if fileToSearchFor in fileList:
> print "%s was found" % fileToSearchFor
> else:
> print "%s was not found" % fileToSearchFor
>
> Could someone explain to me
import os
fileList = []
subDirectories = []
directories = []
directoryPath = raw_input( "Type in the path you want to start at: " )
for directory,subDirectory, files in os.walk( directoryPath ):
directories.append( directory )
subDirectories.append( subDirectory )
fileList.append( fil