Skip to content

Instantly share code, notes, and snippets.

@JeffersGlass
Created November 22, 2020 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JeffersGlass/9090645d7cd1140e5227def2f252f832 to your computer and use it in GitHub Desktop.
Save JeffersGlass/9090645d7cd1140e5227def2f252f832 to your computer and use it in GitHub Desktop.
import json
data = {'Title' : 'Data',
'Type' : 'Dummy information',
'Content':
{'Quality' :'Good',
'Compression':'Poor',
'Data Points': [3,1,4,1,5,9]
},
'Author':'JG'
}
with open ('data.json', "w") as outfile:
json.dump(data, outfile)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment