What is wrong with this extremely simple numpy script?

numpy, python

Solution

It's `numpy.savetxt`, without the `e`.

Problem

I run the following in Python 2.7 ``` import numpy a = numpy.ndarray(shape=(2,2), dtype=float, order='F') print numpy.mean(a) numpy.savetext('foo.txt', a) ``` and get this result ``` [me@foo bar]$ python f.py 8.79658981512e-317 Traceback (most recent call last): File "f.py", line 4, in <module> numpy.savetext('foo.txt', a) AttributeError: 'module' object has no attribute 'savetext' ``` What's wrong?

Original source