python 读取txt,json和hdf5文件的实例 一.python读取txt文件最简单的open函数:#-*-coding:utf-8-*-withopen("test.txt","r",encoding="gbk",errors='igno hdf5