Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
[]
|
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago