How to read a large text file in chunks using python?
Answers
Answered by
1
Answer:
Python fastest way to read a large text file (several GB)
# File: readline-example-3.py.
file = open("sample.txt")
while 1:
lines = file.readlines(100000)
hope this will helps u...be happy....
Similar questions