[IPython-user] embedding an ipython session in a gtk gui application
davide lasagna
lasagnadavide@gmail....
Sat Apr 11 07:43:53 CDT 2009
Hi,
thanks for the reply. I understand how to inject objects in ipython
namespace but how can i start the session in the terminal embedded in my
app?
Here is a snippet of the code :
import IPython.ipapi
ip = IPython.ipapi.get()
ip.user_ns['tree'] = self.listview
self.term = vte.Terminal()
self.term.fork_command()
Basically i can't understand how to put the ipython session in the
vte.Terminal() instance, that is which should be the argument (a command)
of the fork_command() method.
Happy easter!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20090411/75085d23/attachment.html
More information about the IPython-user
mailing list