Embedding python a la erb

PAolo paolopantaleo at gmail.com
Wed Jun 4 11:31:33 EDT 2008


hello,

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?

Thanks
Paolo



More information about the Python-list mailing list