#!/usr/bin/python3 import collections Progress = collections.namedtuple( 'CurrentProgress', 'bytes percent speed eta', defaults=[0, 0, 0, 'infinite'])