[BangPypers] Interactive shell for python application

Sriram Karra karra.etc at gmail.com
Tue Feb 5 11:47:08 CET 2013

On Mon, Jan 28, 2013 at 7:42 PM, JAGANADH G <jaganadhg at gmail.com> wrote:

> Is there any way to do the same. Any pointers to some examples or
> tutorials.

Er, did you try printing some log messages to keep you updated about the

In case you want something more heavy weight: (and perhaps a bit over kill
for this..) Check out: http://code.activestate.com/recipes/576515/

Go through that link. It's awesome. With that code included in your program
once you send  your program a SIGUSR1 it will interrupt the execution of
your code and immediately drop into a python prompt so  you can access the
complete program state. As I said it is perhaps over kill if you jus want
to know if your script is running or not... but wth, really. :)

More information about the BangPypers mailing list