Skip to content

Use HDF5File with the "with" statement

Created by: 183amir

In python you usually can do something like:

with open(path) as f:
  doc = f.read()

But you cannot do this with the HDF5File class. What is the proper way to add this feature to bob?