[IPython-User] ipython 0.12 + wx
Robert Cimrman
cimrman3@ntc.zcu...
Wed Jan 18 13:20:16 CST 2012
On 01/18/2012 11:53 AM, Robert Cimrman wrote:
> 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)
... and this now does not work with ipython 0.10.2, as I started using
ip.runsource() and ip.interact. Any hint how to use those features with
wx threading in both 0.10.2 and 0.12 would be appreciated.
> 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