/usr/share/doc/python3-pyutilib/examples/pyro/factor_srvr is in python3-pyutilib 5.3.5-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/usr/bin/env python
import factor
import pyutilib.pyro
import sys
if len(sys.argv) == 2:
host=sys.argv[1]
else:
host=None
pyutilib.pyro.TaskWorkerServer(factor.FactorWorker, host=host)
|