Οn Mar 4, 5:01 pm, David Verelst <[email protected]> wrote:
> I think this is because the built in function all() got mixed up with
> the numpy.all() function. That would happen after an import such as:
> from numpy import *
> It looks like it that the IPython console in spyder is loaded with a
> from numpy import * (although that has to be confirmed in the source
> and I can't find it that fast...).
You are right. Just give vars() at the console and look at the output.

> Correct me if I am wrong, but isn't from XYZ import * considered as
> not so good Python programming practice?
Perhaps Pierre can explain the logic. But perhaps it could be added as
an option to choose the loaded modules?
par example :
import numpy as np
import scipy as sc

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spyderlib?hl=en.

Reply via email to