Automatic import PEP

Robert Kern robert.kern at
Sun Sep 24 22:12:33 CEST 2006

Lawrence D'Oliveiro wrote:
> In message <mailman.491.1158981359.10491.python-list at>, 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
> The main problem I have with your idea is that any kind of import statement
> with wildcards in it automatically starts my bogosity meter flashing
> its "RED ALERT" sign and clanging all its alarm bells.

"from ... import *" was *designed* for interactive use, which is exactly what 
Connelly is suggesting. It's not a bad thing in that context.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

More information about the Python-list mailing list