-
-
Save JeffersGlass/9090645d7cd1140e5227def2f252f832 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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