Question: 3 . Implement a recursive function findAll ( ) that takes as parameters the name of a file and the pathname of a folder and

3. Implement a recursive function findAll() that takes as parameters the name of a file and the
pathname of a folder and searches for the file in the folder and any folder contained within it, directly or indirectly. The function should return a list containing the full pathname of all occurrences of the file. All possible capitalizations of the file name should be considered when accumulating the list. Please note that your function must work as described on any directory structure, not just the one provided as an example. The following illustrates several searches using a sample set of folders and directories located in the zip file containing the assignment template.SPyon 3.419 al
findill('tilel.cre', 'testiles')
18t
fisdll('fileb,cxt', 'testfiles')
['teastilesi|folder11)filek,txt']
1st
[]
|
 3. Implement a recursive function findAll() that takes as parameters the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!