def _showDownloadProgress(self, file, percent):
    base_file = os.path.basename(file)
    if (percent > 100):
        percent = 100
    message = ('\r  Downloading %s ...... %2.f%%' % (base_file, percent))
    print(message, end='')
    return
def _showDownloadProgress(self, file, percent):
    base_file = os.path.basename(file)
    if (percent > 100):
        percent = 100
    message = ('\r  Downloading %s ...... %2.f%%' % (base_file, percent))
    print(message, end=)
    return