#Here's a program that generates a minimal #web page. def generateWebPage(): showInformation("Select destination folder for your web page.") dir=pickAFolder() #We use open to create the html file. outfile=open(dir+"/minimal.html","wt") #We generate the header information and the page #title. outfile.write("\n\n\n") outfile.write("My Home Page") outfile.write("\n\n") outfile.write("

Me

") outfile.write("

I really don't have much to say") outfile.write('') outfile.close()