Python: How to download a zip file,f.close()