[IPython-dev] Package-specific extensions: an idea

Fernando Perez fperez.net@gmail....
Fri Jun 17 13:13:10 CDT 2011


On Fri, Jun 17, 2011 at 10:04 AM, Brian Granger <ellisonbg@gmail.com> wrote:
>
> But wait, extensions are loaded later when IPython has come up fully.
> Why not put this logic in the extension itself.  IOW, have the
> extension call:
>
> ip.register_post_execute(yourfunc)
>
> that would fully keep all of the logic localized in the extension as
> it should be.

Yup, that should work fine indeed.

Cheers,

f


More information about the IPython-dev mailing list