Hi
I’m working on hdf5 files having group and subgroups, so I’m providing the path to get datasets in a group for example. In practise, I know how to check if a group and/or a dataset exists using “.keys()”, but is it possible to check the path itself?
The best solution may be using exceptions based on “KeyErrors” , but I’m wondering if there’s another way?
Thanks
Paul
Blockquote
KeyError: “Unable to open object (object ‘MyPath’ doesn’t exist)”
Blockquote