[Tutor] stuck with html table

alan.gauld@bt.com alan.gauld@bt.com
Wed, 30 May 2001 14:12:29 +0100


I wrote and accidentally sent....
> > but I'm using local functions as mnemonics
> > to increase code readability.
> 
> Why bother? What does nesting give you over just 
> defining them in the same module. OK, I know 
> they give some namespace protection but it seems 
> a marginal advantage here. Creating a Table class 
> would be a better option IMHO. (Better still use one of the 
> html generating modules that are available

such as htmlgen...

> > Python yet, and I don't want extra long lines sticking out.

That's what I meant about 'fixing' lambda - to allow any 
anonymous function with sensible layout, thus avoiding 
long lines...

Alan G