dataset = hdf5.create_dataset('test dataset', (5,), data=[('please work %s' %
    n) for n in range(5)], dtype=H5T_C_S1_64)
hdf5.close()
How to write a dataset of Null Terminated Fixed Length Strings with h5py