[Tutor] "from X import Y" vs "import X"

Rikard Bosnjakovic rikard.bosnjakovic at gmail.com
Wed Mar 21 12:44:17 CET 2007


On 3/21/07, emilia12 at mail.bg <emilia12 at mail.bg> wrote:

> my actual question is "is this a rare case related to the
> scipy distribution, or something general in python"

The first.

I've never ever stumbled on an error like yours, and I use from FOO
import BAR alot without any whole module-imports.

-- 
- Rikard - http://bos.hack.org/cv/


More information about the Tutor mailing list