#! /usr/bin/env python from SQLFactExtractor import * extractor = SQLFactExtractor(sys.argv[1], False) print(json.dumps(extractor.extract_file()))
#! /usr/bin/env python import sys import json from SQLFactExtractor import * extractor = SQLFactExtractor(sys.stdin) print(json.dumps(extractor.extract_file(), indent=2))