https://www.jianshu.com/p/560ff3adfee3 Python 读取文件一般可以使用 1. read() 接口的问题 f = open(filename, 'rb')f.read() 我们来读取 1 个规模为 3Gb 大小的文件,如人的参考基因组序列(hg19.fa)。 2. readlines() 接口的问题 |
|
来自: 文炳春秋 > 《Python资料》