Skip to content

Instantly share code, notes, and snippets.

@DataSolveProblems
Created May 27, 2019 12:48
Show Gist options
  • Save DataSolveProblems/ffe207fc8514ecfd758a9c79bbf8c82e to your computer and use it in GitHub Desktop.
Save DataSolveProblems/ffe207fc8514ecfd758a9c79bbf8c82e to your computer and use it in GitHub Desktop.
import json
myRecord = {
'name': 'Hello WOrld',
'Age': 99,
'Occupation': 'Unemployeed'
}
j = json.dumps(myRecord)
with open('My Record.json', 'w') as f:
f.write(j)
f.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment