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

oc-spam66 oc-spam66 at laposte.net
Tue Sep 27 06:03:46 EDT 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