首页 > 代码库 > python读取大文件【一行一行读取】

python读取大文件【一行一行读取】

with open(‘e:/content.txt‘) as f:  for line in f:    if ‘==3346628==‘ in line:
      …………

  

python读取大文件【一行一行读取】