import numpy as np import scipy.io as io creat = locals() tmp = io.loadmat("all.mat") for i in tmp: print i creat[i] = tmp[i]
时间: 2024-11-09 14:08:19
import numpy as np import scipy.io as io creat = locals() tmp = io.loadmat("all.mat") for i in tmp: print i creat[i] = tmp[i]