[IPython-User] A few magic commands useful for object inspection
Fri Mar 29 10:51:20 CDT 2013
On 28 March 2013 23:15, Greg Novak <email@example.com> wrote:
> I packaged up some code I've been using myself for a long time to find or
> inspect objects within IPython. The implementation is totally independent
> of IPython (so anyone can use it) but I've provided magic commands to make
> it especially convenient to use within IPython.
You use it just by saying 'import grasp' and it registers the magic commands
You might want to make it an IPython extension, which makes the integration
a bit cleaner (you don't need to catch NameError). You just call
ip.register_magics inside a 'load_ipython_extension' function. The full
details are at
You're also welcome to add it to the extensions index:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User