📜  python 遍历 gzip 文件的行 - Python 代码示例
📅  最后修改于: 2022-03-11 14:45:24.425000             🧑  作者: Mango
代码示例1
import gzip
import io
with io.TextIOWrapper(io.BufferedReader(gzip.open(filename))) as file:
for line in file:
print line,