Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 22462

Doug Hellmann: pprint — Pretty-print Data Structures — PyMOTW 3

$
0
0
pprint contains a “pretty printer” for producing aesthetically pleasing views of data structures. The formatter produces representations of data structures that can be parsed correctly by the interpreter, and are also easy for a human to read. The output is kept on a single line, if possible, and indented when split across multiple lines. Read … Continue reading pprint — Pretty-print Data Structures — PyMOTW 3

Viewing all articles
Browse latest Browse all 22462

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>