On Tue, Jul 28, 2009 at 4:50 AM, Ondrej Certik<email address hidden> wrote:
>> you access to stuff in IPython package (import ipy; ipy.embed() )
>
> Do you mean to provide the root level module in IPython, or in all my other programs?
I meant creating a module that you install in your site packages,
which only does:
from IPython.ipapi import embed
This seems more hygienic than importing the name to IPython package.
Ultimately, I don't think the root level package should import
anything else - but we can easily agree to disagree on this, I don't
really care about it one way or another - just think it's a tad messy.
On Tue, Jul 28, 2009 at 4:50 AM, Ondrej Certik<email address hidden> wrote:
>> you access to stuff in IPython package (import ipy; ipy.embed() )
>
> Do you mean to provide the root level module in IPython, or in all my other programs?
I meant creating a module that you install in your site packages,
which only does:
from IPython.ipapi import embed
This seems more hygienic than importing the name to IPython package.
Ultimately, I don't think the root level package should import
anything else - but we can easily agree to disagree on this, I don't
really care about it one way or another - just think it's a tad messy.
-- tinyurl. com/vainio
Ville M. Vainio
http://