[Zope] Re: python-script to python-script XMLRPC

Dieter Maurer dieter at handshake.de
Sat Jan 10 15:26:03 EST 2004


Hartmut Goebel wrote at 2004-1-10 10:33 +0100:
>> getattr( server, 'foo')( [params] )
>
>Is this the statement you actually use? If so: you are passing a single 
>argument, which is a list with a single element. This is not what you want.
>
>Use
>   getattr( server, 'foo')( **params )
>
>which will pass teh elements of the dict as keyword parameters.

Note that XML-RPC does not support keyword arguments.

-- 
Dieter



More information about the Zope mailing list