/usr/share/doc/pyro/examples/mobilehierarchy/client.py is in pyro-examples 1:3.14-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import Pyro.core
Pyro.config.PYRO_MOBILE_CODE=1 # Enable mobile code
import clientmodule3
mobileobject=clientmodule3.MyClass()
print "sending object to server"
server = Pyro.core.getProxyForURI("PYROLOC://localhost:12233/MobileHierarchy")
result=server.process(mobileobject)
print "done, got result, method call:",result.method()
|