You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm wondering if you know of a way to print a message during block reading containing the percent of the file that's been read so far. The first thing I tried was this:
This isn't right, though: read_bytes contains the size of the uncompressed content so my log message eventually starts printing progress beyond 100%. I've looked through the code here and the methods available to the memoryview object d but haven't found any way to determine in this loop how close each iteration is to completion.
The text was updated successfully, but these errors were encountered:
Hi, I'm wondering if you know of a way to print a message during block reading containing the percent of the file that's been read so far. The first thing I tried was this:
This isn't right, though:
read_bytes
contains the size of the uncompressed content so my log message eventually starts printing progress beyond 100%. I've looked through the code here and the methods available to thememoryview
objectd
but haven't found any way to determine in this loop how close each iteration is to completion.The text was updated successfully, but these errors were encountered: