the response html with values imported from the common module file in the previous example example - pp \internet\web\cgi-bin\languages py #!/usr/bin/python ""generate html for main page dynamically from an executable python scriptnot precoded html filethis lets us import the expected input field name and the selection table values from common python module filechanges in either now only have to be made in one placethe python module file""reply """content-typetext/html languages hello world selector similar to file languages htmlbut this page is dynamically generated by python cgi scriptusing selection list and input field names imported from common python module on the server only the common module must be maintained as new languages are addedbecause it is shared with the reply script to see the code that generates this page and the replyclick hereherehereand here select programming languageall % other ""from languages common import hellosinputkey options [for lang in hellosoptions append('langoptions '\ \tjoin(optionsprint(reply (inputkeyoptions)we could sort keys too wrap table keys in html code field name and values from module againignore the getfile hyperlinks in this file for nowwe'll learn what they mean in later section you should noticethoughthat the html page definition becomes printed python string here (named reply)with % format targets where we plug in refactoring code for maintainability