Carl Friedrich Bolz wrote: > Yes. The "code" module of the stdlib is what you want. put > > import code > code.interact(local=locals()) > > into a point where you would like to have an interpreter prompt. or, as a reusable function: http://effbot.org/librarybook/code.htm (see the third example on that page) </F>