Start the interactive shell within an application

eGlyph eglyph at gmail.com
Tue Jun 9 05:22:50 EDT 2009


On Jun 9, 11:49 am, Jean-Michel Pichavant <jeanmic... at sequans.com>
wrote:
> I'm sometimes tired of adding prints to scan the current namespace so
> I'd like to pause the execution and give the user the shell prompt.
> This is obviously for debugging purpose.

This is definitely doable, have look at rhythmbox or gedit - they
provide an interactive console.
Also, have a look at IPython, they have a recipe and an example of
embedding IPython into a user's application.



More information about the Python-list mailing list