[Numpy-discussion] Import NumPy in Self-defined function script

Stéfan van der Walt stefan@sun.ac...
Sun Feb 22 17:45:11 CST 2009

Hi Tim

2009/2/23 Tim <timlee126@yahoo.com>:
> I think zeros belongs to Module numpy, and I import it in my function file
> "trainer.py". So I was wonering what's the mistake I am making?  Thanks for
> help!

What is the output of the following (please execute this inside Python
inside trainer.py's directory):

import numpy
print numpy
print numpy.__version__


More information about the Numpy-discussion mailing list