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