[IPython-User] ipython 0.12 + wx

Robert Cimrman cimrman3@ntc.zcu...
Wed Jan 18 04:53:53 CST 2012


Hi!

I am updating isfepy ipython-based console for ipython 0.12. I am looking at 
isympy, so it go pretty well, except one problem: I use Mayavi with wx backend, 
and for that I have used the following code snippet to run IPShellWX:

if is_wx:
     from IPython.Shell import IPShellWX
     ip = IPShellWX(argv)
else:
     ip = IPython.Shell.make_IPython(argv)

How can I do this in ipython 0.12?

For no wx mode I use:

from IPython.frontend.terminal import ipapp
app = ipapp.TerminalIPythonApp()
app.display_banner = False
app.initialize(argv)
ip = app.shell

Thanks!
r.


More information about the IPython-User mailing list