help with subscription to a process

Paul Hummer paul at eventuallyanyway.com
Sat Jan 27 01:03:07 EST 2007


The Python socket module, although lightweight, can be used to quickly
establish a socket between client and server for the purpose of feeding
data.  I've done this once or twice with XML.  If you are looking for
something a bit more robust, might I suggest reading up on the Twisted
libraries?

Paul

elrondrules at gmail.com wrote:
> Hi
>
> I am new to python and hence need some help
>
> i have a process A that posts events as XML docs.
> I need to create a listener to this process that subscribes to the
> process A and as and when a XML doc is posted parse it.
> I have creted an interface where if I specify the port number on which
> the listener is running the process A will automatically start posting
> events.
>
> The place I need help is to create a listener and a way of parsing the
> XML docs. If you can give me some starting points or docs/resources
> that will be great..
>
> Thanks
>
>   




More information about the Python-list mailing list