fmt将Z保存为整型
np.savetxt(’./result/’+‘Z_1’, Z, fmt=’%d’)
np.savetxt(’./result/’ + ‘Z_’ + str(i), Z, fmt=’%d’)
保存后可以从pycharm中直接点击打开查看
fmt将Z保存为整型
np.savetxt(’./result/’+‘Z_1’, Z, fmt=’%d’)
np.savetxt(’./result/’ + ‘Z_’ + str(i), Z, fmt=’%d’)
保存后可以从pycharm中直接点击打开查看