List comprehension - NameError: name '_[1]' is not defined ?

Paul Rubin http
Fri Jan 16 13:17:59 EST 2009


mario ruggier <mario.ruggier at gmail.com> writes:
> All the above attempts will be blocked this way. Any other disallow-
> sub-strings to add to the list above?

I think what you are trying to do is fundamentally hopeless.  You
might look at web.py (http://webpy.org) for another approach, that
puts a complete interpreter for a Python-like language into the
template engine.




More information about the Python-list mailing list