Embedding python a la erb

PAolo paolopantaleo at gmail.com
Wed Jun 4 17:31:33 CEST 2008


is there any other tool for embedding python as erb (for ruby) or empy
do. In particular I am not too happy about the way loops are made

@[for i in range(10)]@
xxx @(i)
@[end for]

which is different form the way other code is delimited

@{print 1+1}

I think in PHP there is not this difference and maybe in JSP too. Is
there any simple way to use PSP for that purpose?


More information about the Python-list mailing list