[IPython-user] Workspaces with Embedded IPython
Fri Aug 15 15:20:09 CDT 2008
Hi ryan, andy,
>My next step was to work out how to allow the wx-UI and IPython command
line to interact. I realize there is a fundamental thread issue which must
>handled, but with a little work I should be able to wrap everything with
the necessary mutexs.
If you take a look to my code, the threading stuff is only used when I do
make execute a command line to ipython instance. This is mainly to support
ctrl+c while youve launched a command. So in your case, you can easily
avoid the usage of mutexes etc
I think that ville has pointed the right documentation. (
It should be easy to add some of your vars inside ipython namespace so
youll be able to manage your gui with that.
NonBlockingIPShell class has self._IP where you can get the Ipython instance
and play with it.
Anyhow , as fernando said, gael is porting the code to ipython1 and I think
you should take a look at it, because it will be more powerfull, because my
code was some sort of hackish things around ipython,0 that was not thought a
lot for easy gui integration.
I you still keep my code, I can help you a little as I will do the same
thing for an internal app Im designing for one of my customer.(And any
return from you will be quite interesting J).
De : email@example.com [mailto:firstname.lastname@example.org]
De la part de Ryan Krauss
Envoyé : jeudi 14 août 2008 03:48
À : Domain Admin
Cc : Ipython list
Objet : Re: [IPython-user] Workspaces with Embedded IPython
I very much need to do the same thing - at least the basics of a wx IPython
shell. Can you please post what you have or somehow make it available (and
especially the finished product)?
On Wed, Aug 13, 2008 at 5:07 PM, Domain Admin <email@example.com> wrote:
Hello IPython folks -
I've been working on a program which embeds IPython into a wxPython UI
using the /gui/wx code included with IPython version 0.8.4. It took almost
no time to get it up and running and it looks very professional. My next
step was to work out how to allow the wx-UI and IPython command line to
interact. I realize there is a fundamental thread issue which must handled,
but with a little work I should be able to wrap everything with the
necessary mutexs. But I'm struggling to find a clean way to allow IPython
commands implement changes to the UI. Conversely, I'd like to have access
to the IPython workspace from the UI. Any suggestions would be greatly
IPython-user mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-user