[SciPy-user] newcore module import inconsistency

Chris Fonnesbeck fonnesbeck at gmail.com
Thu Nov 3 09:32:20 CST 2005


I notice that, under the latest newcore svn build, you cannot import
sub-modules as you would expect:

from scipy.stats import exponential

gives an error. Instead, I need to write:

from scipy import stats
exponential = stats.exponential

I hoping this wasnt designed that way; it seems rather un-pythonic. Am
I doing something wrong?

Thanks,
--
Chris Fonnesbeck
Atlanta, GA



More information about the SciPy-user mailing list