And to read from a json.gz , you can use the following snippet: import json import gzip with gzip.open("file_path_to_read", "rt") as f: expected_dict ...
確定! 回上一頁