diff options
author | Anthony Wang | 2024-07-26 23:03:29 -0500 |
---|---|---|
committer | Anthony Wang | 2024-07-26 23:03:29 -0500 |
commit | 088075b13330be9730e339d9eaf01e8ab468d6c3 (patch) | |
tree | b90bbca4b68c8bbe8ca9c2dc69a6bab2df5816e9 /client.py |
Initial commit
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]))) |