[Numpy-discussion] Numeric3

Ralf Juengling juenglin at cs.pdx.edu
Tue Feb 8 16:42:26 CST 2005


On Tue, 2005-02-08 at 10:27, Chris Barker wrote:
> Travis Oliphant wrote:
> > from scipy import *
> 
> And I'd like to see this deprecated.

I don't understand what's wrong with this. (Of course, the module
you do the "from XXX import *" with should be designed for this).

This is on of the hallmarks of Python that facilitate rapid 
development: When you want to get familiar with an unfamiliar 
library module, start up python in a shell, do the 
"from XXX import *" thing, and start playing.

Name space pollution is not an issue, because when you write 
programs, you don't do "from XXX import *". 

ralf






More information about the Numpy-discussion mailing list