What's the best way to download a file to disk using Python3? or How can I download a file to disk wi

18 Replies, 717 Views

yo thanks everyone!

tried the `requests` method first and it worked like a charm.

one q tho—how do i handle like... super slow downloads? the script just hangs sometimes. is there a way to add a progress bar or timeout?

also, big shoutout for the streaming tip—didn’t even think about memory issues.

(ps: windows AV is indeed a pain, had to whitelist my script folder 😑)

Messages In This Thread



Users browsing this thread: 1 Guest(s)