0

Can wget and rich communicate with each other? And if so, how?

import time
from rich.progress import track
import wget

url_1 = "https://server/model.txt" 

for i in track(range(20), description="Processing..."):
    wget.download(url_1)

At When I am from this site (example) using the command wget then the process bar freezes in place and does not show how much time is left until the end of the download

Tim Roberts
  • 48,973
  • 4
  • 21
  • 30
Mr. Magic
  • 3
  • 1
  • 2
    You would need to read the `wget` documentation to see if they have a progress hook function. The `wget` module is an antique. You should consider moving to something like `requests` instead. – Tim Roberts Feb 10 '23 at 06:25

0 Answers0