open_hdf5_file
open_hdf5_file(
path_or_handler: Path | str | File ,
mode: Literal[‘r’, ‘w’, ‘a’] ,
)-> File
A helper function for getting a tables.file.File
object.
If a file reference (str or Path) is passed this context manager will close the file, if a File
Parameters
Parameter | Description |
---|---|
path_or_handler | The input |
mode | The mode in which to open the file. |
Raises
InvalidBuffer if a writable mode is requested from a read only handler.