xmlrpc Server
Doug Fort
dougfort at downright.com
Sun Jun 3 12:35:35 EDT 2001
Andrew wrote:
<snip>
>
>
> def add(self, method, params):
> self.x = self.x + int(params[0])
> return "Sum = %s" % str(self.x)
>
</snip>
I believe the add method should have the prototype 'def add(self, params)'.
I don't think params[0] contains what you think it cpontains.
<shameless plug>
for more examples of xmlrpc, check out:
http://pyagent.sourceforge.net
</shameless plug>
--
Doug Fort <dougfort at downright.com>
Senior Meat Manager
Downright Software LLC
http://www.downright.com
______________________________________________________________________
Posted Via Uncensored-News.Com - Still Only $9.95 - http://www.uncensored-news.com
With Seven Servers In California And Texas - The Worlds Uncensored News Source
More information about the Python-list
mailing list