template

Peter Hansen peter at engcorp.com
Sun Aug 11 18:13:04 CEST 2002


William Dode wrote:
> 
> I'm doing a system to embed python code in html page. 
> (like pyhp and pmz, but with an other aproach...)

Why?  Is this other approach so much better than the last dozen?

> I don't know what could be the best for balises.

??  do you mean braces?  balances?  Not sure I understand.

> <py>
> ...
> </py>
> <!--py
> ...
> -->
> <?py
> ...
> ?>

This all depends on your requirements.  You shouldn't make
design choices like this based on what feels good or what
seems "cool".  What do you need this to do?  And again, why
reinvent the wheel?

-Peter



More information about the Python-list mailing list