Say I have the following numpy structured array:

```
>>> a = numpy.array((1, 2.0, 'buckle_my_shoe'),dtype=('i4,f8,a14')) 
array((1, 2.0, 'buckle_my_shoe'), 
  dtype=[('f0', '<i4'), ('f1', '<f8'), ('f2', 'S14')])

```

and I want to **save it to a single space or tab delimited row in a text file**. If the array were all of the same type I could use `numpy.savetxt('myfile.dat,myarray,newline=" ")`. However, this seems to not like mixed data types/structured arrays, for example:

```
file('myfile.dat', 'a')
numpy.savetxt('myfile.dat',a,newline=" ")

```

gives this error:

```
IndexError: tuple index out of range

```

Can anyone recommend a way of doing this?