summary the overall process for creating dynamic web pages making dynamic web pages has number of steps have suggested several ways of decoupling the partsso you can alter the orderbut if you are starting from nothingyou might follow the following sequence(adetermine the inputs you want to work with and make web form that makes it easy and obvious for the user to provide the data you may initially want to have the form' action url be dumpcgi cgiso you can debug the form separately test with the local server when everything seems okmake sure to change the action url to be the name of the cgi script you are writing [editing html forms (page )(bit is easier to debug regular python program totally inside idle than to mix the idle editor and server execution particularly if the generation of output data is going to be complicated or there are lots of places you are planning to insert data into an output templatei suggest you write the processinput function with its output template first and test it without serveras we did with additionweb pyproviding either canned input in the main programor taking input data from the keyboardand saving the output page to local file that you examine in your webbrowser [dynamically created static local pages from python (page )(cwhen you are confident about your processinput functionput it in program with the proper cgi skeletonand add the necessary lines at the beginning of the main function to take all the cgi script input from the browser data include all the variable names you need in the actual parameter list for calling processinput they should match up with the formal parameters you wrote earlier for the definition of processinput [adder cgi (page )(dbe sure to check for syntax errors in idleby using the menu sequence run -check module fix as necessary (eremember to run cgifix py in the same folder as precaution to clean things upparticularly with new cgi file on mac (ffinally test the whole thing with the local server make sure the local server is runningand all the resources that you refer to are in the same folder as the local web serverinitial web pageweb page templatescgi script do not open the starting web page or cgi script in idle or by finding it in your file system you must run it in your browser with url that starts with load web page directly from your file systemit will not cause an obvious error the dynamic actions will just not take place (gif is does not work rightif you get page that uses your templatebut it looks wrongeither fix your template or look for logical error in your program (if you had tested your processinput function in regular python program beforethis should not happen if the web page output shows an error descriptionsee if you can pick any help out and go back and fix your code if you get nothing back in your web browsermake sure you had tested the final version of the code in idle for syntax errors (run -check module)and that you have the final error catching code in the cgi scriptand that you used url that starts with if all of the parts mentioned above are therethe problem may show in the servernot python look in the local server window' log outputand see if it points to filename that it cannot find or markupplain text may be marked up to include formatting the formatting may be easily interpreted only by computeror it may be more human readable one form of human-readable markup is hypertext markup language (html[format of web page markup (page ) summary