Created
March 26, 2015 15:56
-
-
Save scottrogowski/6b3711c4f32a3d93f74c to your computer and use it in GitHub Desktop.
Revisions
-
scottrogowski created this gist
Mar 26, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ #!/usr/bin/env python # Loads the json contents of the clipboard as a python datastructure called jobj import sys import json from IPython import embed if __name__ == "__main__": f_name = sys.argv[1] with open(f_name) as f: jobj = json.loads(f.read()) print "="*50 print "The json is loaded as 'jobj'. Have at it!" print "="*50 embed()