Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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?
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started