Write matrix to text file

Hanna Michelsen hannarosie at gmail.com
Tue Jul 7 13:46:47 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/20090707/f0c1c374/attachment-0001.html>


More information about the Python-list mailing list