What's the best way to communicate between processes?

grahamd at dscpl.com.au grahamd at dscpl.com.au
Wed Sep 27 07:45:06 EDT 2006


awmcclain.nospam at gmail.com wrote:
> I'm thinking about coding some sort of 'local notify server' in twisted
> (basically just listening to a socket and then passing the information
> to the IM bot), then connecting to it via a python socket in django and
> passing some serialized/pickled data.

Use the XML-RPC server gateway from Twisted on the server side. In
the Django web pages then use xmlrpclib module to initiate XML-RPC
requests to the server.

Graham




More information about the Python-list mailing list