diff options
Diffstat (limited to 'client.py')
-rw-r--r-- | client.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client.py b/client.py new file mode 100644 index 0000000..2d7ea97 --- /dev/null +++ b/client.py @@ -0,0 +1,5 @@ +import sys +import xmlrpc.client + +proxy = xmlrpc.client.ServerProxy("http://localhost:8000") +print('\n'.join(proxy.search(sys.argv[1], sys.argv[2]))) |