Description
Unlike pprint, pprintpp strives to emit a readable, largely PEP8-compliant, representation of its input.
It also has explicit support for: the collections module (defaultdict and Counter) and numpy arrays.
Unicode characters, when possible, will be printed un-escaped. This is done by checking both the output stream's encoding (defaulting to utf-8) and the character's Unicode category. An effort is made to print only characters which will be visually unambiguous: letters and numbers will be printed un-escaped, spaces, combining characters, and control characters will be escaped.
Subclassess of built-in collection types which don't define a new __repr__ will have their class name explicitly added to their repr (while custom __repr__ methods will be respected).
Upload more screenshots
Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.
Upload a screenshotHint: upload an image here from your clipboard with Ctrl-V
Homepage
https://github.com/wolever/pprintpp
Install this software package
If the package is available for the distribution you are currently using on your computer then install the software by clicking on…