final_year / output /report_generator.py
jayasrees's picture
Add __init__.py to output/ to fix import error and include output/ in repo
13b71d5
raw
history blame contribute delete
146 Bytes
import json
def generate_report(results, path="output/report.json"):
with open(path, "w") as f:
json.dump(results, f, indent=4)