Skip to content

Instantly share code, notes, and snippets.

@dosumis
Created May 20, 2015 16:13
Show Gist options
  • Save dosumis/157c483f7d59eb5b882d to your computer and use it in GitHub Desktop.
Save dosumis/157c483f7d59eb5b882d to your computer and use it in GitHub Desktop.
import json
j = open("flycircuit_plus.json", "r")
jj = json.loads(j.read())
for k, v in jj.items():
for t in v['Types']:
if not t['isAnonymous']
out.write(k + "\t" + t['objectId'] + "\n") # k = VFB individual ID, t['objectId'] = FBbt ID of type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment