XML Processing Modules
xmlrpc.client
Serializes Python values to XML-RPC requests and parses responses, and provides ServerProxy for remote calls. Fault represents a remote method error and ProtocolError an HTTP-level problem. Not all Python values are supported; untrusted XML and external destinations require security review. This example never sends a request.
Formal Syntax & Structure
python syntaxpython
import xmlrpc.clientReturn Value
module
Module namespace available through import; import is a statement, not a value-returning expression.
Working Example
Example Snippetpython
from xmlrpc.client import dumps, loadswire = dumps(({"count": 3},), methodname="save")args, method = loads(wire)print(method, args[0]["count"])