Skip to content

Instantly share code, notes, and snippets.

@pointofpresence
Created April 7, 2022 07:20
Show Gist options
  • Save pointofpresence/5c170dde9eb96cb85066e8562985d8e2 to your computer and use it in GitHub Desktop.
Save pointofpresence/5c170dde9eb96cb85066e8562985d8e2 to your computer and use it in GitHub Desktop.
Python read JSON from file
import json
with open('data.json', 'w') as f:
json.dump(data, f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment