0

I am trying to show the progress of csv download but I have no idea how to make it using the code bellow:

for url, filename in zip(urls, filenames):
    r = requests.get(url, stream=True,verify=False)
    with open(r'C:\Users\Lucas\output\ ' + filename + ' - ' + dia.zfill(2) + '_' + mes.zfill(2) + '_' + ano  + '.csv', 'wb') as fd:
        for chunk in r.iter_content(chunk_size=256):
            fd.write(chunk)

How could I make that? Thanks for helping

  • 1
    Does this answer your question? [Python Progress Bar](https://stackoverflow.com/questions/3160699/python-progress-bar) – CrazyChucky Sep 26 '22 at 12:25

0 Answers0