import xmlrpclibservAddr = "http://localhost:8080"s = xmlrpclib.ServerProxy(servAddr)methods = s.system.listMethods()for m in methods: print mprint "5 in. Square =", s.areaSquare(5)print "4x5 in. Rectangle =", s.areaRectangle(4,5)print "10 in. Circle =", s.areaCircle(5)
Name (required)
email (will not be published) (required)
Website