Changes between Version 6 and Version 7 of XML-RPC
- Timestamp:
- Sep 18, 2006, 11:12:01 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XML-RPC
v6 v7 101 101 import xmlrpclib 102 102 rpc_srv = xmlrpclib.ServerProxy("http://localhost:8000/xml_rpc_srv/") 103 result = rpc_srv.multiply( sys.argv[1], sys.argv[2])103 result = rpc_srv.multiply( int(sys.argv[1]), int(sys.argv[2])) 104 104 print "%d * %d = %d" % (sys.argv[1], sys.argv[2], result) 105 105 }}}