XML Processing Modules

xmlrpc

Package grouping XML-RPC client and server tools. XML-RPC represents remote calls and responses using XML and usually HTTP. Use the appropriate submodule explicitly. Only trusted, bounded XML should be parsed; serializing a request does not send it.

Formal Syntax & Structure

python syntaxpython
import xmlrpc

Return 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, loadspacket = dumps((2, 3), methodname="add")print(loads(packet))
Python Reference