need to download a zip from website as save it as it is without altering or making any changes to timestamps
def getfile("Download URL"):
r = s.get("Download URL")
z = zipfile.ZipFile(io.BytesIO(r.content))
z.extractall("C:\folder") # need to save file as it is instead of extract
print(" Done" )
In above code I want to use the file as it is instead of extracting using z.extractall
extractall changes file create dates which i do not want I want to save zip as received from download link
Download URL can not have a zip file name as it is dynamic link