sashang> Then the client code can get the value of i like this:
    sashang> c = xmlrpclib.ServerProxy("address")
    sashang> c.geti()

    sashang> but why can't I get the value of i like this?

    sashang> c.i

"RPC" stands for "Remote Procedure Call".  You're looking for a remote
object access protocol.  As Irmen pointed out, Pyro is one such beast,
though it is limited to use with Python.  If you need something that's more
language-independent, you might look at SOAP.  Personally, XMLRPC has been
sufficient for me for several years.

Skip
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to