[Tutor] Confused about "import Numeric" vs "import numpy" for Arrays

S Python spython01 at gmail.com
Sat Aug 9 00:55:39 CEST 2008

> Another reason not to use "from xx import *" is that it can make it
> very difficult to discover where a name is defined. If you have
> several "from xx import *" lines and then later you use a function
> "foo()" there is no easy way to tell which module foo came from.
> An alternative is to list just the names you want to import:
> from xx import foo
> Kent

Kent - Another great point.  Thanks for contributing to the list.


More information about the Tutor mailing list