[IPython-dev] IPython <-> PuDB integration

Andreas Klöckner lists at informa.tiker.net
Fri Jul 10 10:47:19 EDT 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: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20090710/9c402aeb/attachment.sig>


More information about the IPython-dev mailing list