Web development with Python 3.1

rustom rustompmody at gmail.com
Thu Nov 5 11:54:55 CET 2009


On Nov 5, 2:23 pm, Bruno Desthuilliers <bruno.
42.desthuilli... at websiteburo.invalid> wrote:
> rustom a écrit :
>
> > On Oct 30, 6:23 pm, Dotan Cohen <dotanco... at gmail.com> wrote:
>
> >> The point is that I want to use only _Python_ features, not
> >> Django/Mako/whatever features.
>
> > Pure python has a builtin templating system -- its called  %
>
> Poor man's template... It only do variable substitutions - no branching
> nor iteration (and let's not talk about macros, inclusions, filters etc).

I realised that that link
http://simonwillison.net/2003/Jul/28/simpleTemplates/
was written in 2003

Subsequently python has sprouted something explicitly templateish
http://docs.python.org/library/string.html#template-strings



More information about the Python-list mailing list