On Wed, 2009-06-17 at 14:13 +0200, Jean-Michel Pichavant wrote: > On Wed, Jun 17, 2009 at 04:14, Steven D'Aprano wrote: > >> What's np.arange? > >> > > > > import numpy as np > > > > -- > > Pierre "delroth" Bourdon <delr...@gmail.com> > > Étudiant à l'EPITA / Student at EPITA > > > > Perfect example of why renaming namespaces should be done only when > absolutely required, that is, almost never. > > Jean-Michel
I disagree. Renaming namespaces should always be done if it will help stop people from doing a 'from package import *'. However, example code should always include relevant imports. Cheers, Cliff -- http://mail.python.org/mailman/listinfo/python-list