[IPython-dev] IPython <-> PuDB integration

Andreas Klöckner lists@informa.tiker....
Fri Jul 10 09:47:19 CDT 2009


On Freitag 10 Juli 2009, Gökhan SEVER wrote:
> On Fri, Jul 10, 2009 at 9:27 AM, Andreas Klöckner
> >    from IPython.Shell import IPShell
> >    IPShell(user_ns=locals, user_global_ns=globals) \
> >            .mainloop(banner=banner)
>
> How do you drop into an IPy shell with the above commands?

"locals" is a variable that contains my locals, not the built-in function. 
Poor style, I know.

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.scipy.org/pipermail/ipython-dev/attachments/20090710/9c402aeb/attachment.bin 


More information about the IPython-dev mailing list