editing and testing different document formats notein this you will be working with several different types of documents that you will edit and test in very different ways the ending of their names indicate their use each time new type of file is discussed in later sectionsthe proper ways to work with it will be repeatedbut with all the variationsit is useful to group them all in one place nowweb py my convention for regular python programs taking all their input from the keyboardand producing output displayed on web page these programs can be run like other python programsdirectly from an operating system folder or from inside idle they are not final productbut are way of breaking the development process into steps in testable way cgi python program to be started from web browser and run by web server you will develop code using local web server on your own machine html web documents most often composed in an editor like kompozer by my conventionthese have subcategories template html not intended to be displayed directly in browserbut instead are read by python program cgi or web pyto create template or format string for final web page that is dynamically generated inside the python program other files ending in html are intended to be directly viewed in web browser except for the simple static earlier examples in introduction to static pages in kompozer (page )the pages for this course are designed to reside on web serverand include forms that can pass information to python cgi program cgito make this work on your computer have all the web pages in the same directory as the example program localcgiserver py it is easiest to leave it in the www subdirectory of your examples directory looking ahead to when we get to using server dynamically (cgi dynamic web pages (page ))(ainclude the python cgi server programs in the same directory (bhave localcgiserver py runningstarted from directory windownot from inside idle (cin the browser url fieldthe web page file name must be preceded by for examplethe running localcgiserver py the url may either by an html file or possibly cgi file for examplelocalcgiserver py(dmost often cgi programs are referenced in web formand the program is called indirectly by the web server cgi programs can be edited and saved inside idlebut they do not run properly from inside idle they must be run via the server/browser combination more on this later composing web pages in python dynamically created static local pages from python for the rest of this the example files will come from the www directory under the main examples directory you unzipped will refer to example file there as "example www filesas the overview indicateddynamic web applications typically involve getting input from web page formprocessing the input in program on the serverand displaying output to web page introducing all these new ideas at once dynamic web pages