Requests is a really nice library. I’d like to use it for downloading big files (>1GB).
The problem is it’s not possible to keep whole file in memory; I need to read it in chunks. And this is a problem with the following code:
local_filename = url.split(‘/’)[-1]
r = requests.get(url)
f = open(loca….