Hacker News new | past | comments | ask | show | jobs | submit login

pprint won't work here because the output is a json string, not a python object, so pprint'ing it will just print the string as is. And plus, pprint doesn't output valid json (it uses single quotes, for example), so the output isn't usable for piping into other filters and programs.

And it's true that it won't scale well but it still has worked every time I've wanted it to :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: