Optional algol syntax style

Mikael Olofsson mikael at isy.liu.se
Mon Sep 5 07:52:35 EDT 2005


Sokolov Yura wrote:
> I think, allowing to specify blocks with algol style (for-end, if-end, 
> etc) will allow to write easy php-like templates
> and would attract new web developers to python (as php and ruby do).
> It can be straight compilled into Python bytecode cause there is 
> one-to-one transformation.
 > [snip details]

Standard answer to this kind of question:

You can already do that in Python. It's spelled #end.

/MiO



More information about the Python-list mailing list