Separation of content and code for web (was Re: Python for web?)

Richie Hindle richie at entrian.com
Wed Dec 3 05:53:46 EST 2003


[Peter]
> Apparently all you PyMeld types like to lie in wait and then reply in
> groups. ;-)
> 
> Thanks Richie! (and Paul and Hamish, for the same answer)

[Hamish]
> <hem-hem> Au-contraire: I was shamelessly whoring my own solution

Different Hamish - apparently you Hamish types like to lie in wait and
then reply in groups as well.  8-)


[Duncan]
> For HTML generation could you also take advantage of the fact that 
> attributes are case insensitive and do `element.Class = something`?

Yes, you could, although I believe mixed-case attribute names are not
strictly valid XHTML.

-- 
Richie Hindle
richie at entrian.com






More information about the Python-list mailing list