[pygtk] Embedding ipython in pygtk

Pietro Battiston toobaz at email.it
Sun Nov 22 15:35:22 WST 2009


Il giorno ven, 20/11/2009 alle 17.20 +0100, David Trem ha scritto: 
> Hi,
> 
>   I'm wondering whether anybody port the
> ipython_view.py from the Accerciser project which allows to
> embed ipython in pygtk app, to the current version of ipython ?
> See:
> http://ipython.scipy.org/moin/Cookbook/EmbeddingInGTK
> 
> It seems that the new ipython scheme to integrate better with GUI 
> toolkit event loops broke this nice peace of code.
> 
> If someone was successful in embedding current version
> of ipython in pygtk, I hope this person would be eager to share.
> 
> I was not lucky posting on ipython list, thus I try on pygtk one.


I'm not totally sure I'm answering to your question, but I do often use
an ipython nested into pygtk to play with pygtk without having to block
the interface with a loop() call.


I use the attached files (run "shell.py").

It's certainly not perfect, though: ipython does not behave exactly as
in an ordinary terminal.

Pietro



--------------------------------------------------------------------------

This email would probably have arrived sooner if "reply" replied to the
mailing list I'm replying to.

-------------- parte successiva --------------
Un allegato non testuale � stato rimosso....
Nome:        ipython_view.py
Tipo:        text/x-python
Dimensione:  10450 bytes
Descrizione: non disponibile
Url:         http://www.daa.com.au/pipermail/pygtk/attachments/20091122/a125373a/attachment.py 
-------------- parte successiva --------------
Un allegato non testuale � stato rimosso....
Nome:        shell.py
Tipo:        text/x-python
Dimensione:  593 bytes
Descrizione: non disponibile
Url:         http://www.daa.com.au/pipermail/pygtk/attachments/20091122/a125373a/attachment-0001.py 


More information about the pygtk mailing list