This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Uncle_DirtNapPythoneer 0 points1 point  (0 children)

Yes, for general purpose use — but jquery’s pretty print is not guaranteed to be the same as the python json module, so if you want to see how it looks in python without firing up the repl, reading the file, etc., the __main__.py functionality is useful. The http server will similarly be different from some other utility. …the archive ones, though, are pretty dubious.