Advertisement
| 08.07.2008 at 03:45PM PDT, ID: 23631275 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: |
#!/usr/bin/python
u=open("top.html")
a = u.read()
z = a.split("\n")
z=z.replace("\z"," ")
z=z.replace("#DATE#","t")
z=z.replace("#Me#","Jake")
z=z.replace("#QUOTE#","")
import time
t = time.localtime()
year = t[0]
month = t[1]
dayOfMonth = t[2]
hour = t[3]
minute = t[4]
second = t[5]
#THIS IS MY HTML CODE!!!#
<html>
<head>
<style>
body { font-family: Verdana, Arial, Helvetica, SansSerif }
p { font-size: 12px; text-align: justify }
</style>
</head>
<body>
<h3>Today's Date is #DATE#</h3>
<p>The quote for today is
#QUOTE#
</p>
<hr>
<span class=tiny>program is #ME#</span>
</body>
</html>
|
Advertisement