I am not sure what you are looking for, but you can try looking at 'cmd module'<br><br>~l0nwlf<br><br><div class="gmail_quote">On Sat, Feb 20, 2010 at 11:08 AM, Kee K Y CHEN <span dir="ltr"><<a href="mailto:keekychen@gmail.com">keekychen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">HI All,<br>
<br>
Apologize for being a newbie to python area and sorry for my English.<br>
<br>
Actually what I need is embedding a python interactive console(or other<br>
shell console alike module) on my python program for debugging and<br>
controlling purpose during the program runtime.<br>
<br>
For example, print/set some important value, query some runtime status<br>
when I remote login to host via telnet/ssh when the program running on<br>
the host. One of the idea is I can write the program use the GUI tech,<br>
but that is not fit for someone use a text based session.<br>
<br>
In summary, in my scheme, it should something looks like the GEdit<br>
extension - python console and but may interactive with tty/vty lines.<br>
<br>
Can anyone give a brief to me?<br>
<br>
Thanks in advance.<br>
<br>
--<br>
Kee K Y CHEN <<a href="mailto:keekychen@gmail.com">keekychen@gmail.com</a>><br>
<font color="#888888"><br>
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br>