import SimpleXMLRPCServerservAddr = ("localhost", 8080)def areaSquare(length): return length*lengthdef areaRectangle(length, width): return length*widthdef areaCircle(radius): return 3.14*(radius*radius)serv = SimpleXMLRPCServer.SimpleXMLRPCServer(servAddr)serv.register_function(areaSquare)serv.register_function(areaRectangle)serv.register_function(areaCircle)serv.register_introspection_functions()serv.serve_forever()
Name (required)
email (will not be published) (required)
Website