file' codewhen we visit this script' urlwe get similar pageshown in figure - but this timethe page is generated by running script on the server that populates the pull-down selection list from the keys list of the common syntax table use your browser' view source option to see the html generatedit' nearly identical to the html file in example - though the order of languages in the list may differ due to the behavior of dictionary keys figure - alternative main page made by languages py one maintenance note herethe content of the reply html code template string in example - could be loaded from an external text file so that it could be worked on independently of the python program logic in generalthoughexternal text files are no more easily changed than python scripts in factpython scripts are text filesand this is major feature of the language--it' easy to change the python scripts of an installed system on sitewithout recompile or relink steps howeverexternal html files could be checked out separately in source-control systemif this matters in your environment step reusable form mock-up utility moving the languages table and input field name to module file solves the first two maintenance problems we noted but if we want to avoid writing dummy field mockup class in every cgi script we writewe need to do something more againit' merely matter of exploiting the python module' affinity for code reuselet' move the dummy class to utility moduleas in example - server-side scripting