I believe Kulver said you can double post for updates:
Hey guys, just made a little update to the script. Added criteria for background color instead of just image, added a foot note option, a bit better formatted questioning, and the header can now be underlined.
# File name: Ez.py
# Criteria Query:
print("Welcome! Please insert the required criteria to create your own, custom homepage!")
print("1.Title?")
T = raw_input(" ")
print("2.Header? ")
H = raw_input(" ")
print("3.Header Font Style?")
HFS = raw_input(" ")
print("4.Text Color?")
HTC = raw_input(" ")
print("3.Search Text? ")
ST = raw_input(" ")
print("5.Search Button Text?")
SBT = raw_input(" ")
print("6.Background Image?(Please name a valid PING or JPEG file.)")
BI = raw_input(" ")
print("7.Background color?(Skip if you have an image.)")
BC = raw_input(" ")
print("8.Words in page body?")
WP = raw_input(" ")
print("9.Font Style?")
PFS = raw_input(" ")
print("10.Text Color?")
PTC = raw_input(" ")
print("11.Would you like to underline your header? If so, type: u If not, type: n.")
U = raw_input(" ")
print("12.Would you like to add any foot notes? Type them in.")
FN = raw_input(" ")
print("13.Footnote color?")
FC = raw_input(" ")
# Status report to the user:
print("Website has been created!")
print("Now, just drag the 2 new files on your desktop into a folder that includes your background image!")
print("Enjoy!")
raw_input("Press ENTER to quit. ")
# Creating the hypertext mark up language:
X = open("Homepage.html", "wb")
X.write( """
<!doctype html>
<html>
<title>"""+T+"""</title>
<link rel=\"stylesheet\" type=\"text/css\" href=\"Homepage.css\" />
<body>
<center>
<h1><"""+U+""">"""+H+"""<"""+U+"""></h1>
<br />
<form method=\"get\" action=\"http://www.google.com/search\">
<input onfocus="this.value=\'\'\" type=\"text\" name=\"q\" size=\"45\"
maxlength=\"255\" value=\""""+ST+"""\" />
<input type=\"submit\" value=\""""+SBT+"""\" />
</form>
<br /><br /><br /><br /><br />
<div id=\"Main\">
<h3>"""
+WP+
"""</h3>
<>
</center>
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<div id="footnote">"""
+FN+"""
<>
</body>
</html>
""");
X.close()
# Creating the cascading style sheet:
Y = open("Homepage.css", "wb")
Y.write("""
h1{
color: """ +HTC+ """;
font-family: """ +HFS+ """;
}
body{
background: url("""+BI+""");
background-attachment: fixed;
background-position: 27% 27%;
background-color:"""+BC+""";
}
h3{
color:""" +PTC+""";
font-family:""" +PFS+""";
}
#footnote{
color:""" +FC+""";
}
""");
Y.close()
# End.
Here's a screen shot. I didn't fill in every criteria option for this one, and I'm using that background from Lucid in that post your desktop thread. Love that picture... using this as my homepage right now.
EDIT: Added a download if you guys want to use the proram. No gui or anything, just a text program. HPP stands for homepage program