Can I embedding a (python) console on python program?

Shashwat Anand anand.shashwat at gmail.com
Sat Feb 20 06:53:00 CET 2010


I am not sure what you are looking for, but you can try looking at 'cmd
module'

~l0nwlf

On Sat, Feb 20, 2010 at 11:08 AM, Kee K Y CHEN <keekychen at gmail.com> wrote:

> HI All,
>
> Apologize for being a newbie to python area and sorry for my English.
>
> Actually what I need is embedding a python interactive console(or other
> shell console alike module) on my python program for debugging and
> controlling purpose during the program runtime.
>
> For example, print/set some important value, query some runtime status
> when I remote login to host via telnet/ssh when the program running on
> the host. One of the idea is I can write the program use the GUI tech,
> but that is not fit for someone use a text based session.
>
> In summary, in my scheme, it should something looks like the GEdit
> extension - python console and but may interactive with tty/vty lines.
>
> Can anyone give a brief to me?
>
> Thanks in advance.
>
> --
> Kee K Y CHEN <keekychen at gmail.com>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100220/24c1446e/attachment.html>


More information about the Python-list mailing list