[IPython-user] implementing non-blocking thread execution for something other than toolkits

Ville M. Vainio vivainio@gmail....
Wed Feb 25 05:00:33 CST 2009


On Wed, Feb 25, 2009 at 12:56 PM, Rohan Nicholls
<rohan.nicholls@googlemail.com> wrote:

> At the moment I am working with web.py.  If I do a:
>
> run <scriptname> <portnum>
>
> I get the output in the ipython window, but control is taken over by
> the web.py process, and I lose the interactivity of the prompt.

Ok, all you need to do is launch a new thread that runs web.py main
loop. Edit your web.py launcher script.


-- 
Ville M. Vainio
http://tinyurl.com/vainio


More information about the IPython-user mailing list