This file contains hidden or 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 tables as tb | |
import numpy as np | |
#initialize | |
filename='earrayEx.h5' | |
atom=tb.StringAtom(itemsize=8) | |
shape=(0,) | |
#open hdf5 file and create an earray | |
fileh=tb.openFile(filename,'w') |