code: def download_report_hook(count, block_size, total_size):
    
    percent = int(count * block_size * 100 / total_size)
    print("\r%d%%" % percent + " completed", end="\r")
docs: Report hook for download progress.
  
    Args:
      count: current block number
      block_size: block size
      total_size: total size