Skip to content

Instantly share code, notes, and snippets.

@studiawan
Created December 30, 2013 05:02
Show Gist options
  • Save studiawan/8178023 to your computer and use it in GitHub Desktop.
Save studiawan/8178023 to your computer and use it in GitHub Desktop.
XML RPC client for multifunctions server
# http://docs.python.org/2/library/xmlrpclib.html
import xmlrpclib
proxy = xmlrpclib.ServerProxy("http://localhost:8000/")
print proxy.add(7,3)
print proxy.subtract(7,3)
print proxy.multiply(7,3)
print proxy.divide(7.0,3.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment