[Numpy-discussion] numpy installed but can' use
Fri Dec 28 23:42:36 CST 2007
On Dec 29, 2007 1:38 PM, Travis E. Oliphant <firstname.lastname@example.org> wrote:
> Yes, the key is what "names" are "imported" into the current namespace
> (what names are visible to your code).
> import numpy
> loads the module and places the name "numpy" in the current namespace
> which points to the loaded module.
> from numpy import *
> loads the module and places all the "exported" names from numpy into the
> current namespace. The list of exported names, however, does not
> include the module numpy itself and so the current namespace does not
> get a "numpy" entry.
thank you very much for the explanation.
More information about the Numpy-discussion