template engine

petercable at gmail.com petercable at gmail.com
Sun Jan 14 15:48:17 CET 2007


> <html>
>  <head>
>   <title>$title</title>
>  </head>
>  <body>
>  #if user
>   hello $user/name
>  #else
>   hello guest
>  #endif
>  </body>
> </html>

This example code would work in cheetah with only 2 changes...

www.cheetahtemplate.org

Pete




More information about the Python-list mailing list