Integrated IPython Console and GUI control

27 views
Skip to first unread message

somada141

unread,
Sep 26, 2014, 6:32:47 PM9/26/14
to mun...@googlegroups.com
Hi all,

I've been looking a lot into integrating an IPython console within a Muntjac application but so far I haven't found a viable solution. My goal is to set up a basic GUI through the 'Application' class with an embedded IPython console and then expose the class itself to the console allowing the user to add/remove/modify widgets through the console, i.e., a fully dynamic/customizable GUI. In addition, it will allow for any functionality of the application to be scripted and utilized through this console. Think something in the order of Blender, Maya, 3D Slicer, ParaView etc where the user can use whatever functionality offered by the GUI through the console, i.e., automatizing any process.

Is this possible in muntjac? As the primary thread is going to be serving the application would it be possible to achieve the above by spawning a secondary thread that will still share the namespace and allow the above?

Any help/ideas are super-welcome :)

somada141

unread,
Sep 26, 2014, 6:59:30 PM9/26/14
to mun...@googlegroups.com
In the interest of providing some more info here a few links that show that IPython Consoles are very much embeddable:

Instructions:

Example of integration in a web-page: https://www.pythonanywhere.com/try-ipython/
Reply all
Reply to author
Forward
0 new messages