Open dridk opened 5 years ago
Hi,
I m trying to monitor progression when reading file... Something like this :
total = os.path.getsize(filename) for record in vcf.Reader(open(filename)): progression = record.bytes_read / total * 100 print(progression)
How can I achieve this ? Is there a way to access the current raw line from reader._reader?
Hi,
I m trying to monitor progression when reading file... Something like this :
How can I achieve this ? Is there a way to access the current raw line from reader._reader?