Write matrix to text file

Hanna Michelsen hannarosie at gmail.com
Mon Jul 6 18:57:20 EDT 2009


Hi,

I'm working with both python and matlab at the moment and I was wondering if
there is an efficient way to take a 2-D array (of 1s and 0s) in python and
write it to a text file such that matlab will be able to create a sparse
matrix from it later.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090706/64497bc8/attachment.html>


More information about the Python-list mailing list