[IPython-dev] [IPython-user] IPython within wxshell

Fernando Perez fperez.net@gmail....
Sun Nov 25 18:32:24 CST 2007


Hi Tom,

On May 29, 2007 8:49 PM, Tom Denniston <tom.denniston@alum.dartmouth.org> wrote:
> Has anyone had any success with IPython within pycrust or the wx pyshell.
>
> I tried the very naive:
>
> sh = Instance(IPython.Shell.IPythonShellEmbed)
> sh = IPython.Shell.IPythonShellEmbed()
> sh (['-pylab'])
>
>
>
> within the enthought pyface shell.  I also tried
> Shell.IPShellMatplotlibWX.  Both start IPython but the escape
> characters for colors don't get interpretted colors.  If I turn the
> colors off I get some working Ipython behavior, but most behavior
> doesn't work.  Tab completion doesn't work and command history, for
> instance do not work.
>
> Moreover the standard output of command like help seems to go to my
> text console rather than the wx shell console.
>
> Has anyone gotten this combination to work?  Are there any wx related
> examples or wiki pages?  I noticed one on open gl and another on
> pygtk--both in the cookbook but nothing on wx.
>
> Is there a reasonably easy way to do this now or is this something
> that ipython does not yet support?

Did you ever get this to work by modifying the GTK idea?  If so, I'd
love to hear about it and perhaps we could have a set of companion
recipes on the cookbook for the different toolkits.

Cheers,

f


More information about the IPython-dev mailing list