[Numpy-discussion] array.tofile() refuses to write into a StringIO

oc-spam66 oc-spam66@laposte....
Tue Sep 27 05:03:46 CDT 2011


Ah, I found a workaround: savetxt() can work with a StringIO
-> savetxt(file_buffer, A)

This is only a workaround. I still think A.tofile() should be capable of 
writing into a StringIO.

-- 
O.C.



More information about the NumPy-Discussion mailing list