0 purchases
readlargefile 1.0.4
Large text file reader.
usage:
from readlargefile.line_reader import LineReader
with LineReader(file_name, max_line, sep) as reader:
# line is <class 'bytes'>
for line in reader:
if line:
print(line)
elif line == b'':
print('empty line.')
else:
# line == None
print('line is too long.')
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.