Hi All
Could anyone recommend a python application server? My application
consists mainly of long running background processes that need to
communicate with each other. Features on my wishlist include, process
pooling (each process will in general be stateless), monitoring,
scheduling and a framew
Hi All
Thanks for the responses - I'll look into Circuits and Twisted, the
both seem to be relevant.
Adi
--
http://mail.python.org/mailman/listinfo/python-list
> From: superpollo
> To:
> Date: Mon, 18 Jan 2010 11:15:37 +0100
> Subject: substitution
> hi.
>
> what is the most pythonic way to substitute substrings?
>
> eg: i want to apply:
>
> foo --> bar
> baz --> quux
> quuux --> foo
>
> so that:
>
> fooxxxbazyyyquuux --> barxxxquuxyyyfoo
>
> bye
Using
> From: Steven D'Aprano
> To: python-l...@python.org
> Date: 18 Jan 2010 16:26:48 GMT
> Subject: Re: substitution
> On Mon, 18 Jan 2010 06:23:44 -0800, Iain King wrote:
>
>> On Jan 18, 2:17 pm, Adi Eyal wrote:
> [...]
>>> Using regular expressions the an
> -- Forwarded message --
> From: Bryan
> To: python-l...@python.org
> Date: Tue, 11 May 2010 23:59:29 -0700 (PDT)
> Subject: Re: Iterating over dict and removing some elements
> Terry Reedy wrote:
> [...]
>> for k in [k for k in d if d[k] == 'two']:
>> d.pop(k)
>
> We hav