could be lot to absorbso this section uses familiar keyboard input into regular python program and thenlike in the final versionprocesses the input and produces the final web page output follow this sequence of steps open the example www file hello html in your browserto see what it looks like change your browser view for instance go back to the previous page you displayed open the same hello html file in kompozerif that works for youor another editor that will show the html sourceas discussed in html source markup (page if using kompozerswitch to the source view (clicking the source tabsometimes you will want to copy html text into python program for instancei selected and copied the entire contents of the hello html source view and pasted it into multi-line string in the python program shown and discussed below carefulnote the change from past practice herestart python from inside the www directory in windows you may start idle with the idleonwindows shortcut that placed in the www directorynot the original example directory open the www example program helloweb py in an idle edit window run it you should see familiar web page appear in your default browser (possibly not the one you have been usingthis is obviously not very necessary programsince you can select this page directly in your browserstillone step at timeit illustrates several useful points the program is copied below read it''' simple program to create an html file froma given stringand call the default web browser to display the file ''contents ''<meta content="text/htmlcharset=iso- - http-equiv="content-type"hello helloworld''def main()browselocal(contentsdef strtofile(textfilename)"""write file with the given name and the given text ""output open(filename," "output write(textoutput close(def browselocal(webpagetextfilename='tempbrowselocal html')'''start your webbrowser on local file containing the text with given filename ''import webbrowseros path strtofile(webpagetextfilenamewebbrowser open("file:///os path abspath(filename)#elaborated for mac main( composing web pages in python