scipy.io.
mmread
Reads the contents of a Matrix Market file ‘filename’ into a matrix.
source : file
Matrix Market filename (extensions .mtx, .mtz.gz) or open file object.
a:
Sparse or full matrix