On Dec 29, 2007 1:38 PM, Travis E. Oliphant <[EMAIL PROTECTED]> 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. i see. thank you very much for the explanation. -dikshie- _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion