Question: your py file, and a pdf ( printed - to - pdf from a google doc or word doc or whatever ) containing the series

your py file, and
a pdf (printed-to-pdf from a google doc or word doc or whatever) containing the series of screenshots described below, labeling each screenshot with its number in text (e.g."1:") before/above the pasted image)
Visual format for every screenshot: show the terminal window (that your web server program is running in) and a browser window (with the full address bar content visible), positioned side by side.
In the term window, run your program in a directory:
a) containing multiple files and multiple subdirectories,
b) where at least one of those subdirectories contains multiple files and at least one subdirectory of its own, and
c) where that ?2 subdirectory contains multiple files. (So, for example, in the case of those dir/file names, when clicking through to fileC.txt in the browser, the address bar at that point would read: localhost:9999/dirA/subdirB/fileC.txt and the browser would display fileC.txt's contents.)
Also: the "base" directory, a "subdir* of it, and a "subdir of that subdir* should contain at least one file of each of these types: .html,.txt, image.
(That's 3 different locations each containing (at least)3 different types of files, meaning (at least)9 files.)
(And those 9 files should all be different: different content, and different filenames, not copies of one another.)
Finally, in the base directory, also put: an mp3, the file you saved
lehman.edu as (using the browser's "save as complete webpage" option), and (of course) your program's .py file.
(Replace 9999 in the following with the port number you used if it differs.)
(In each of the following, "Open to ...x and click on a Y'' should be understood to mean: on the subdir/file listing page that the browser displays for x, click on , "within that x listing page*, to *a thing of type Y**.)
Screenshots to take, after performing each of these actions in the browser:
Open to localhost:9999(and scroll if necessary so that both dirs and files are visible)
Open to localhost:9999 and then *view source ?**
Open to localhost:9999 and click on an h tml file
Open to localhost:9999 and click on a txt file
Open to localhost:9999 and click on *your program's py file
Open to localhost: 9999 and click on an image file
Open to localhost:9999 and click on an mp3
Open to localhost:9999 and click on the file you saved
lehman.edu as
Open to localhost:9999/doesnotexist (where no file or dir called doesnotexist exists, thus eliciting an error page response from your program)
Open to localhost:9999/../(recalling that your program should guard against requests involving ...)
Open to localhost: 9999 and click on a directory
Open to localhost: 9999, click on a directory, and then click on some txt file (in that directory)
Open to localhost:9999, click on some directory, and click on some directory in localhost:9999/onedir/anotherdir/somefile.txt)
"Replacing "dirA" if necessary with the name of an actual directory within your base directory": open to: localhost:9999/dirA/..../(recalling again the ".." no-no)
 your py file, and a pdf (printed-to-pdf from a google doc

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!