Dan Bishop wrote:
> On Sep 22, 10:09 pm, Connelly Barnes <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I wrote the 'autoimp' module [1], which allows you to import lazy modules:
>>
>> from autoimp import * (Import lazy wrapper objects around all modules;
>> "lazy
>>module
On Sep 22, 10:09 pm, Connelly Barnes <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I wrote the 'autoimp' module [1], which allows you to import lazy modules:
>
> from autoimp import * (Import lazy wrapper objects around all modules;
> "lazy
>modules" will turn into normal mo
Lawrence D'Oliveiro wrote:
> In message <[EMAIL PROTECTED]>, Robert
> Kern wrote:
>
>> Lawrence D'Oliveiro wrote:
>>> In message <[EMAIL PROTECTED]>,
>>> Connelly Barnes wrote:
>>>
The main point of autoimp is to make usage of the interactive Python
prompt more productive by including "f
In message <[EMAIL PROTECTED]>, Robert
Kern wrote:
> Lawrence D'Oliveiro wrote:
>> In message <[EMAIL PROTECTED]>,
>> Connelly Barnes wrote:
>>
>>> The main point of autoimp is to make usage of the interactive Python
>>> prompt more productive by including "from autoimp import *" in the
>>> PYTHO
Saizan wrote:
> BTW what would the benefit of the form "lazily import A, B"? If you
> name the modules why not import them directly? Maybe you are not sure
> you would need them, but I don't think that the overhead of importing
> them should matter..
It's primarily useful for large packages. scipy
I think this is obviously great in interactive mode and would also be
very good in the early stages of developing if you have several sources
files. A little error prone maybe, and should be avoided in
"production" code I suppose. (I would like to track each name exactly,
on each installation of py
Lawrence D'Oliveiro wrote:
> In message <[EMAIL PROTECTED]>, Connelly
> Barnes wrote:
>
>> The main point of autoimp is to make usage of the interactive Python
>> prompt more productive by including "from autoimp import *" in the
>> PYTHONSTARTUP file.
>
> The main problem I have with your idea i
In message <[EMAIL PROTECTED]>, Connelly
Barnes wrote:
> The main point of autoimp is to make usage of the interactive Python
> prompt more productive by including "from autoimp import *" in the
> PYTHONSTARTUP file.
The main problem I have with your idea is that any kind of import statement
with
Connelly Barnes enlightened us with:
> I wrote the 'autoimp' module [1], which allows you to import lazy modules:
>
> The main point of autoimp is to make usage of the interactive Python
> prompt more productive by including "from autoimp import *" in the
> PYTHONSTARTUP file.
Sounds like a great
> Opinions?
Great :)
--
http://mail.python.org/mailman/listinfo/python-list
Hi!
>>> I have also found "autoimp" useful in writing normal Python...
+1
--
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I wrote the 'autoimp' module [1], which allows you to import lazy modules:
from autoimp import * (Import lazy wrapper objects around all modules; "lazy
modules" will turn into normal modules when an
attribute
is first accessed with g
12 matches
Mail list logo