Question: Can someone please help me with this question? In 1: import ou import on.path Import to Import sys from contextlib import redirect atdout datadir./publiedata Instructions

Can someone please help me with this question?
Can someone please help me with this question? In 1: import ou

In 1: import ou import on.path Import to Import sys from contextlib import redirect atdout datadir./publiedata Instructions . Complete all the problems below by replacing the two-line sequence of # YOUR CODE HERE and raise Not ImplenentedError() with your solution code. Ali functions that you define for software labs must have docstrings. 01 Write a function myFileList(directory) that queries the specified directory, directory, for the files and folders contained therein and generates and returns a list with an element for each of the non- hidden files in the directory. This means that your list should not include any entries for hidden files (that start with a character), nor should it include entries for directories (i.c., folders). In 1 Solution cell YOUR COOR MERE raise Not implementeditor) Testing assert nyeint._do_shot one don't forget the desting sviab 01 filelist millat.) assert tentsiab 01 filelist) - 2 assert lebel. Lpyob in wlab_01_tulis assert ovlab 01.nd in wlab_01_tsleliat ting out with tougher test publedata thellat- nyrillie publiedata") sert tensyon tut in publedata telut You've reached the final checkpoint in the lab. Make sure to have it signed off by the instructor. Checkpoint 3: How many elements do you expect to be returned by nyFilelist("publicdata") ? Why

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!