[Twisted-Python] td() in form

Bob Ippolito bob at redivi.com
Tue Oct 14 15:04:53 MDT 2003


On Tuesday, Oct 14, 2003, at 16:44 America/New_York, Itamar 
Shtull-Trauring wrote:

> On Tue, 14 Oct 2003 20:29:10 +0000
> "vicky lupien" <lupien_v_31 at hotmail.com> wrote:
>
>> I' m suppose to write l.td(class='label').text(name) but I can't.  Is
>> there a way to do this?
>
> t = l.td()
> t["class"] = "label"
> t.text(name)

There's no underscore hack for Python's reserved words in lmx?

-bob





More information about the Twisted-Python mailing list