What is equivalent of *this = that in python?
larry.bates at websafe.com
Fri Jun 1 18:09:00 CEST 2007
Carsten Haese wrote:
> On Fri, 2007-06-01 at 11:53 -0400, Emin.shopper Martinian.shopper wrote:
>> I have a distributed application using xmlrpc and I'd like for a local
>> object to sync itself to match a remote version of the object. I
>> realize that I can copy all the attributes from the remote object to
>> the local object, but that seems like an ugly solution. There must be
>> a better way...
> Copying the attributes will do the trick, and you should be able to do
> this in one shot with something like
Have you looked at Pyro? Maybe it would work for you.
More information about the Python-list