append to non-existing list

bonono at gmail.com bonono at gmail.com
Thu Nov 10 05:22:39 EST 2005


Yves Glodt wrote:
> I need this (invalid example-html follows):
>
> <html>
> <h1>title of page</h1>
>
> <?py
>
> import time
>
> print "<p>Hello, today is: %s</p>" % (time.ctime())
>
> ?>
>
> </html>
Cheetah template ?

But I like Kid better as I don't want python in HTML, Kid IMO strikes
the balance between python feature and XHTML so the template is still
readable by any XHTML editors.




More information about the Python-list mailing list