Created
September 10, 2019 03:59
-
-
Save qmaruf/0cabca2334e82fc8b4188663cf7393d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import h5py | |
with h5py.File('data.h5', 'w') as hndl: | |
hndl['mystring'] = 'hello world!' | |
with h5py.File('data.h5', 'r') as hndl: | |
print (hndl['mystring'].value) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment