Beispiel #1
0
#! /usr/bin/env python
from SQLFactExtractor import * 

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

extractor = SQLFactExtractor(sys.stdin)
print(json.dumps(extractor.extract_file(), indent=2))