list comprehension (searching for onliners)

Paul Rubin http
Fri Oct 20 10:46:30 EDT 2006


Gerardo Herzig <gherzig at fmed.uba.ar> writes:
> You are the man, you are the man!! Yes, i need those dicts in order to
> assign them to a nested <TMPL_LOOP> for the htmltmpl templating
> engine. Thats why i cant use the solution provided by Max, and thanks
> to Jon too!!

I'm confused, can't you write a multi-line function and pass that?



More information about the Python-list mailing list