[Zope] selecting tinytableplus to update by parameter

Dieter Maurer dieter at handshake.de
Sat Jan 24 05:28:59 EST 2004


John wrote at 2004-1-23 19:52 +0000:
>I'm new to zope/python and hope this is fairly easy - I want to update
>a TinyTablePlus table from a script.  So the following will do what I
>want on the table 'igrid'.
>
>context.igrid.setRow(number=number,score=newscore)

The standard way is to use Python's "getattr".

Others already told you about alternatives...

-- 
Dieter



More information about the Zope mailing list