import numpy 
g = open('/home/srallaba/mgc/transposed/arctic_a0404.mgc','w')
x =  numpy.loadtxt('/home/srallaba/mgc_spaces/arctic_a0404.mgc')
numpy.savetxt(g, numpy.transpose(x))
g.close()  

[((3, 5, 3, 64), 'numpy.loadtxt', 'numpy.loadtxt', ({(3, 19, 3, 63): '"""/home/srallaba/mgc_spaces/arctic_a0404.mgc"""'}, {}), "('/home/srallaba/mgc_spaces/arctic_a0404.mgc')", False, 'import numpy\n'), ((4, 17, 4, 35), 'numpy.transpose', 'numpy.transpose', ({(4, 33, 4, 34): 'x'}, {}), '(x)', False, 'import numpy\n')]