interactive python shell

Martin v. Loewis martin at v.loewis.de
Wed Mar 27 15:00:22 EST 2002


ian reinhart geiser <geiseri at yahoo.com> writes:

> I have an python application and I would like to provide a
> "console" in the application where users can have an interactive
> session with python that has all of the applications enviroment.
> This is for debugging the system in real time.

> Is there an easy way to do this?

What's wrong with using standard input and output for that? If you
want to emulate a Python interactive session, you can use
code.InteractiveConsole.

HTH,
Martin




More information about the Python-list mailing list