1 2 3 4 5
import sys import xmlrpc.client proxy = xmlrpc.client.ServerProxy("http://localhost:8000") print("\n".join(proxy.search(sys.argv[1], sys.argv[2])))