Skip to content

Instantly share code, notes, and snippets.

@jcm93
Created September 7, 2016 11:23
Show Gist options
  • Save jcm93/29ac51728d345766614d0a95d490e95f to your computer and use it in GitHub Desktop.
Save jcm93/29ac51728d345766614d0a95d490e95f to your computer and use it in GitHub Desktop.

Revisions

  1. jcm93 created this gist Sep 7, 2016.
    5 changes: 5 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    class JSONDictionary:

    def __init__(self):
    self.db_file = open("database.txt", 'w')
    self.user_db = json.loads(self.db_file)