Skip to content

Instantly share code, notes, and snippets.

@alexstorer
Created December 5, 2013 19:09
Show Gist options
  • Select an option

  • Save alexstorer/7811343 to your computer and use it in GitHub Desktop.

Select an option

Save alexstorer/7811343 to your computer and use it in GitHub Desktop.

Revisions

  1. alexstorer created this gist Dec 5, 2013.
    16 changes: 16 additions & 0 deletions persona.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    import json
    f = open('persona.json','r')
    j = json.loads(f.read())

    s = set()

    dlist = list()

    for k in j:
    print k
    for things in j[k]:
    print k, '======>', things
    s.add(things)
    #print ' ', j[k][things]
    #for items in j[k][things]:
    #print ' ', items['value'].encode('utf-8')