Categories
Linux System

How to unzip and read gzipped JSON files from URL in Python

The Problem Sometimes we end up zipping JSON files and putting up somewhere on the interweb. Now we need to read it back from the HTTP server and parse the file using Python. For that situation, let us assume that the zipped JSON is located at this URL: http://example.com/python_list_turned_into.json.gz. To read this file, we need to […]