cross platform method of accessing a running process

David LeBlanc whisper at oz.net
Tue May 21 18:18:05 EDT 2002


You might also want to take a look at spread. GvR just posted an
announcement about his python wrapping for it:
"I've released version 1.2 of the Spread Module for Python:

    http://www.python.org/other/spread/
"

David LeBlanc
Seattle, WA USA

> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of Seth Russell
> Sent: Tuesday, May 21, 2002 13:27
> To: python-list at python.org
> Subject: Re: cross platform method of accessing a running process
>
>
> "Geoff Gerrietts" <geoff at gerrietts.net> wrote in message
> news:mailman.1021661370.756.python-list at python.org...
> > Quoting Seth Russell (seth at robustai.net):
> > > I want to have a python process always running on my machine,
> but allow
> cgi
> > > processes to come in and access that process.  How do I do this in a
> manner
> > > that will work on all platforms ?  What python modules will support
> this?
> >
> > I might be wrong (don't think I am), but I believe the only way to do
> > this in a truly cross-platform manner is to do it via sockets. You
> > open a socket in your long-running process and accept requests. The
> > SocketServer module is one of your choices.
> >
> > Some higher-level protocols, like FastCGI, exist. You may find that
> > FastCGI, or something like XML-RPC, allows you to do the sorts of
> > things you're looking to do without having to invent a whole protocol
> > for information exchange. You might also check into Pyro and Twisted;
> > those frameworks provide some functionality overlapping with what
> > you're interested in.
> >
> > More details on what you want will naturally increase the quality of
> > the answers you receive.
>
> Thanks for your informative reply ... it got me thinking in the right
> direction.  I ended up making a http server class based on the standard
> BaseHTTPServer.  Hopefully this will end up being a semantic web
> client\server.
>
> Anybody want to help ...
> http://robustai.net/mentography/httpBot.py
>
> Seth Russell
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list






More information about the Python-list mailing list