Possible to download file content without creating temporary on-disk file?

Viewed 14

Downloading a file with urllib.request.urlretrievecreates a temporary file. While this can be deleted with urllib.request.urlcleanup(), I'd like to know whether there is a way to download a file's content directly to a byte array without that process generating any on-disk temporary files?

0 Answers
Related