MIME-RPC Library in Python

To use mimerpc_examples.cgi as a server on port 8000, type

$ python mimerpc_examples.cgi server 8000 &

To use mimerpc_examples.cgi as a client, type

$ python mimerpc_examples.cgi http://localhost:8000

To use mimerpc_examples.cgi as a cgi script, just put it in your cgi directory, and make it executable. And replace the http://localhost:8000 with the url of your cgi script.