Closed senarvi closed 8 years ago
import h5py
h5f = h5py.File(filename, 'w') h5f.create_dataset('x', data=x) h5f.close()
h5f = h5py.File(filename, 'r') x = h5f['x'][:] h5f.close()
import h5py
h5f = h5py.File(filename, 'w') h5f.create_dataset('x', data=x) h5f.close()
h5f = h5py.File(filename, 'r') x = h5f['x'][:] h5f.close()