How to Store String type in HDF5


Dear EveryOne:
I changed my h5py from version 2.10.0 to 3.2.1 recently. I found the string dataset output was changed from string type to bytes type. So I should change my codes to fit this situation. There are two ways to do this:
1st. Decode the output bytes
2nd. Save the string in the attribute which supports the string type, and no decode was needed when reading it.
I want to know which way is better and if the attribute will also support the string type in the future.
Thank you in advance.


Web software application development is the process of turning an idea into a working website. Most software development companies provide web app development service A web app, as web software development is also commonly known, is a stand-alone program that runs inside a web browser. It can be stand-alone or it can integrate with web services, database or any other system. A web app can integrate with an existing system, a web service, or a database.