How to embed a Python interpreter in a PyQT widget

Bit late I know, but I recommend the code.InteractiveConsole class: http://docs.python.org/py3k/library/code.html#code.InteractiveConsole

Leave a Comment