GodsDevProject commited on
Commit
644edd0
·
verified ·
1 Parent(s): 5be944d

Create export_utils.py

Browse files
Files changed (1) hide show
  1. export_utils.py +7 -0
export_utils.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import json
2
+
3
+ def export_json(data):
4
+ path = "/tmp/results.json"
5
+ with open(path, "w") as f:
6
+ json.dump(data, f, indent=2)
7
+ return path