How about Numpy's loadtxt()?  Genfromtext is more of a specialty function.

Ben Root

On Monday, August 29, 2011, Alexa Villaume <alexa7890@gmail.com> wrote:
> Hi there,
> I have a 2d array that I'd like to contour. The plot isn't turning out right and I think it's because the array isn't be read in correctly.
> It's a 25x41 array that is in a text file. I have tried using genfromtxt and the asciitable module to read the data in and neither gives the correct output.
> Does anyone know of any command either specific for reading in 2d arrays or is able to handle 2d arrays?
> Thanks,
> Alexa