xmlrpc.client.Binary()
xmlrpc.client.Binary() is a Python function in the XML-RPC Module category. Wraps binary data for XML-RPC transfer (Base64 encoded). The syntax is xmlrpc.client.Binary(data). Returns: Binary wrapper. A typical example: server.upload_file(xmlrpc.client.Binary(b"file content")). A close sibling is xmlrpc.client.ServerProxy(), which creates a proxy for calling XML-RPC methods on a remote server. A close sibling is xmlrpc.server.SimpleXMLRPCServer(), which creates a simple XML-RPC server. A close sibling is xmlrpc.client.DateTime(), which wraps date/time values for XML-RPC transfer. More about this category: XML-RPC client and server — ServerProxy, SimpleXMLRPCServer. Related XML-RPC Module entries: xmlrpc.client.ServerProxy(), xmlrpc.server.SimpleXMLRPCServer(), xmlrpc.client.DateTime(). This page is part of the free Python Reference documentation covering 978+ functions, methods, and modules with examples and parameter details. You can try xmlrpc.client.Binary() immediately in the Python playground, look up unfamiliar terms in the glossary, or return to the Python Reference homepage.