O'Reilly logo

Python: Essential Reference, Third Edition by David Beazley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

xmlrpclib

The xmlrpclib module provides client-side support for XML-RPC. XML-RPC is a remote procedure call mechanism that uses XML for data encoding and HTTP as a transport mechanism. This module handles most of the details automatically. Therefore, it is not necessary to worry about the underlying encoding or transport of data.

To use the module, you create an instance of ServerProxy:

						ServerProxy(uri
						[,
						transport
						[,
						encoding
						[,
						verbose
						[,
						allow_none]]])

uri is the location of the remote XML-RPC server—for example, “http://www.foo.com/RPC2”. If necessary, basic authentication information can be added to the URI using the format “http://users:pass@host:port/path”, where user:pass is the username and password encoded in base-64 format. If Python ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required