module, mode='r+', **kwargs)[source]

Context manager for reading an HDF5 file as an H5File object.

  • filename (str) – HDF5 file name.

  • mode (str) –

    Mode to open the file:

    ’r’ : Read-only ‘w’ : Write; create new file (an existing file would be deleted). ‘a’ : Read and write to file; create if not existing ‘r+’: Read and write to file; must already exist

  • H5File for additional keyword arguments. (See) –