to our python scriptwith filename parameters passed explicitly--we're using the script much like subroutine located elsewhere in cyberspace which returns the text of file we wish to view as we've seenparameters passed in urls are treated the same as field inputs in formsfor conveniencelet' also write simple web page that allows the desired file to be typed directly into formas shown in example - example - pp \internet\web\getfile html getfiledownload page type name of server file to be viewed view script code figure - shows the page we receive when we visit this file' url we need to type only the filename in this pagenot the full cgi script addressnotice that can use forward slashes here because the browser will escape on transmission and python' open allows either type of slash on windows (in query parameters created manuallyit' up to coders or generators to do the right thingfigure - source code viewer selection page when we press this page' download button to submit the formthe filename is transmitted to the serverand we get back the same page as beforewhen the filename was appended to the url (it' the same as figure - albeit with different directory separator slashin factthe filename will be appended to the url heretoothe get method in the form' html instructs the browser to append the filename to the url server-side scripting