/usr/share/doc/pyro4/examples/nonameserver/client.py is in pyro4-examples 4.23-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 | # Client that doesn't use the Name Server. Uses URI directly.
from __future__ import print_function
import sys
import Pyro4
if sys.version_info<(3,0):
input=raw_input
uri = input("Enter the URI of the quote object: ")
quotegen=Pyro4.core.Proxy(uri)
print("Getting some quotes...")
print(quotegen.quote())
print(quotegen.quote())
|