Created
December 30, 2013 05:02
-
-
Save studiawan/8178023 to your computer and use it in GitHub Desktop.
XML RPC client for multifunctions server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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