systems can produce frozen python binary finallyto run this book' examplesmake sure the python you find or install is python xnot python as mentioned earliermany commercial isps support the latter but not the former as ' writing this fourth editionbut this is expected to change over time if you do locate commercial isp with supportyou should be able to upload your files by ftp and work by ssh or telnet you may also be able to run this webserver py script on the remote machinethough you may need to avoid using the standard port depending on how much control your account affords adding pictures and generating tables let' get back to writing server-side code as anyone who' ever surfed the web knowsweb pages usually consist of more than simple text example - is python cgi script that prints an html tag in its output to produce graphic image in the client browser this example isn' very python-specificbut note that just as for simple html filesthe image file (ppsmall gifone level up from the script filelives on and is downloaded from the server machine when the browser interprets the output of this script to render the reply page (even if the server' machine is the same as the client'sexample - pp \internet\web\cgi-bin\tutor py #!/usr/bin/python text """content-typetext/html cgi second cgi script hellocgi world""print(textnotice the use of the triple-quoted string block herethe entire html string is sent to the browser in one fell swoopwith the print call statement at the end be sure that the blank line between the content-type header and the first html is truly blank in the string (it may fail in some browsers if you have any spaces or tabs on that lineif both client and server are functionala page that looks like figure - will be generated when this script is referenced and run so farour cgi scripts have been putting out canned html that could have just as easily been stored in an html file but because cgi scripts are executable programsthey can also be used to generate html on the flydynamically--evenpossiblyin response to particular set of user inputs sent to the script that' the whole purpose server-side scripting