file_response.py 273 B

12345678910
  1. import zipfly
  2. file_location = '/home/user/Documents/file-100-GB.csv'
  3. # Efficient way to read a single very large binary file in python
  4. go_to_streaming = zipfly.FileResponse( file_location )
  5. print ( go_to_streaming )
  6. # <generator object from_one_file at 0x7f85aad34a50>