问题
I have been trying to find a way to have an IPython Shell in an wx.Frame
.
Searching around in the library code or Google
- wxPython based IPython widget
- ipython shell wxpython
haven't helped me much either.
Is there any widget that IPython provides that can be used with wx, to integrate an IPython shell into my Frame
??
回答1:
According to the IPython docs, there is a wxPython frontend:
- http://ipython.org/ipython-doc/rel-0.10.2/html/install/install.html
However, I can't really tell if that's what you want, so here are a few links on embedding IPython in wxPython:
- https://groups.google.com/forum/?fromgroups=#!topic/wxPython-dev/lBOSXTaY2ZQ
- https://github.com/ipython/ipython/blob/master/examples/lib/ipkernel_wxapp.py
- iPython wx support?
wxPython also has it's own shell called PyCrust / PyShell that you can see in the wxPython demo package.
来源:https://stackoverflow.com/questions/16362024/ipython-on-wxpython