![]() |
s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
7. Using XML-RPC with PythonFredrik Lundh has provided an excellent XML-RPC library for Python. To install, download the latest version. You can either stick the *.py files in the same directory as your Python code, or you can install them in your system's Python directory. RedHat 6.2 users can type the following:
We import two of the *.py files to trick Python into compiling them. Users of other platforms should consult their Python documentation. For more Python examples, see the article XML-RPC: It Works Both Ways on the O'Reilly Network. 7.1. A Python ClientThe following program shows how to call an XML-RPC server from Python:
|