Perl's @foo[3,7,1,-1] ?
jeanmichel at sequans.com
Mon Jun 22 08:57:37 EDT 2009
J. Cliff Dyer wrote:
> 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 <delroth at 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.
> 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.
The import * should not used if possible, I totally agree on that point,
but there's no need to rename namespaces for that.
More information about the Python-list