[IPython-dev] Can I open ipython from another python script with some objects shared (like code.InteractiveConsole) ?

rohit hiwale rohit.hiwale@gmail....
Wed Sep 21 02:07:26 CDT 2011


I have a qt application.
I want to share my MainWindow object with ipython for debugging purpose.

Currently I am using code.InteractiveConsole which allows me to initialize
the locals for the python console.
*eg.    myconsole =
code.InteractiveConsole(locals={'shared_object':MainWindow_object})*
*        myconsole.interact()*
Does ipython supports such interactive console ?
If yes, how can I do same thing with ipython ?
It will be even better if it can be done with ipython-qtconsole !!

PS : ipython-qtconsole is awesome !!

Cheers,
Rohit

-- 
Rohit Hiwale
Final year Dual Degree (Bachelors+Masters) student
Department of Computer Science & Engineering
Indian Institute of Technology, Kharagpur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20110921/4606c92a/attachment.html 


More information about the IPython-dev mailing list