generate HTML

s99999999s2003 at yahoo.com s99999999s2003 at yahoo.com
Tue Nov 15 05:52:54 EST 2005


hi thanks for all the help
actually i am doing it the hard way

alist = [ '<div align="right"><font size="-1">TEST<br>',
'<p align="center"><strong><br>',
'blah' ]

f = open('test.html",'w')
f.writelines(alist)
f.close()

but everytime i hit
...
alist = [ '<div align="right"><font size="-1">....
ValueError: unsupported format character '"' (0x22) at index 14

what does it mean?

i tried alist = [ '<div align="right"><font size="-1">TEST<br>'] on the
IDE and it works

thanks.




More information about the Python-list mailing list