Created
October 13, 2016 11:48
-
-
Save bmccormack/a42eea33a82372bd3f2edda5ae6130a2 to your computer and use it in GitHub Desktop.
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 characters
import json | |
#via http://stackoverflow.com/a/12944035/166258 | |
def jprint(to_print, indent=4, sort_keys=True): | |
print json.dumps(to_print, indent=indent, sort_keys=sort_keys) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment