aboutsummaryrefslogtreecommitdiff
path: root/client.py
blob: 180335f949c8c237a210c8e8438fee0c0ca7b40f (plain)
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])))