You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

testprocess.py 260B

12345678910111213
  1. #!/usr/bin/env python3
  2. import sys
  3. import json
  4. import searchlib
  5. if __name__ == '__main__':
  6. res = None
  7. with open(sys.argv[1], 'r') as f:
  8. res = json.load(f)
  9. proced = searchlib.process_results(res)
  10. print(json.dumps(proced, indent=' '))