[Numpy-discussion] printing array in tabular form

Henry Gomersall heng at cantab.net
Thu May 9 05:21:29 EDT 2013


On Thu, 2013-05-09 at 16:06 +0800, Sudheer Joseph wrote:
> If I wanted to print below text in a file (for reading by another
> program), it looks to be not an easy job....Hope new developments will
> come and a userfriendly formatted out put method for pyton will
> evolve.

I don't understand what the problem is - this seems to be trivial to
solve. You gave an example in Fortran; Is the transliteration to Python
not acceptable?

Is the output format specified by the receiving program? If not, there
are loads of options for creating interoperable text files.

Henry




More information about the NumPy-Discussion mailing list