[Tutor] New to Python - simple question

Unaiza Ahsan unaiza.ahsan at gmail.com
Sun Nov 18 15:07:04 CET 2012


*Hi all,

The function histogram is supposed to come from the numpy module; at* *
least that's the case on my computer (I have numpy 1.6.2 for Python
2.7):

>>> from numpy import ** *
>>> histogram
<function histogram at 0x10b0c0ed8>

Maybe something is wrong with Unaiza's version of numpy.* *

Kal

*Yes it's supposed to come from numpy. In imtools.py, the following line is
there:
from numpy import *

But I'm still getting the error. Since I'm a beginner in Python, I'm not at
all sure what's wrong here.

Thanks for the pointers/help.
Unaiza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20121118/5ca18d54/attachment.html>


More information about the Tutor mailing list