Of course here is how it look like:
if page.endswith('.html'):
f = open( "/home/nikos/www/" + page, encoding="utf-8" )
htmldata = f.read()
htmldata = htmldata % (quote, music)
counter = ''' <center>
<a
href="mailto:[email protected]"> <img src="/data/images/mail.png"></a>
<table border=2 cellpadding=2
bgcolor=black>
<td><font
color=lime>Αριθμός Επισκεπτών</td>
<td><a
href="http://superhost.gr/?show=log&page=%s"><font color=yellow> %d </td>
</table><br>
''' % (page, data[0])
template = htmldata + counter
print( template )
--
http://mail.python.org/mailman/listinfo/python-list