首页 > 代码库 > python load mat 并按变量名赋值

python load mat 并按变量名赋值

import numpy as npimport scipy.io as iocreat = locals()tmp = io.loadmat("all.mat")for i in tmp:    print i    creat[i] = tmp[i]

 

python load mat 并按变量名赋值