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

Fernando Perez fperez.net at gmail.com
Fri Jun 17 14:13:10 EDT 2011


On Fri, Jun 17, 2011 at 10:04 AM, Brian Granger <ellisonbg at 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