当前位置:网站首页>. H5 file forgets the database name and uses h5py to print
. H5 file forgets the database name and uses h5py to print
2022-06-23 07:26:00 【NuerNuer】
We read .h5 When you file , commonly :
import h5py
path = 'xxx.h5'
with h5py.File(path, 'r') as h5_file:
data = h5_file.get(' Database name ')[...]
But sometimes , For a variety of reasons , We forget the name of the database , Will cause the read to fail .
terms of settlement :
for key in h5_file.keys():
print(h5_file[key].name)This will print out database The name of , We can use it normally
边栏推荐
猜你喜欢

Cirium has gradually become the standard for airlines' carbon dioxide emission reporting

干货来了|《PaaS》合辑抢先看~

PSP code implementation

Tp6+redis+think-queue+supervisor implements the process resident message queue /job task

Regular expression graph and text ultra detailed summary without rote memorization (Part 1)

正则表达式图文超详细总结不用死记硬背(上篇)

MySQL (IV) - MySQL storage engine

别找了诸位 【十二款超级好用的谷歌插件都在这】(确定不来看看?)

Nacos adapts to oracle11g- modify the source code of Nacos

Learning and using quartz scheduling framework
随机推荐
897. incremental sequential search tree
MySQL (II) - MySQL data type
MySQL (11) - sorting out MySQL interview questions
csrf攻击在laravel中如何解决
NTU-RGBD数据集下载及数据格式解析
Database principle experiment test questions, about book classification table
char和varchar区别
跳跃表原理
SSM整合
Data types in tensorflow
20bn Jester complete dataset Download
yolov5检测小目标(附源码)
【2022毕业季】从毕业到转入职场
307. area and retrieval - array modifiable
闫氏DP分析法
正则表达式图文超详细总结不用死记硬背(上篇)
【博弈论】基础知识
Pagoda forgot password
Redis setting password
Unet代码实现