< BACKMake Note | BookmarkCONTINUE >
152015024128143245168232148039199167010047123209178152124239215162146124202000005016003049

pprint

The pprint (pretty printer) module prints Python objects so that the interpreter can use them as input for other operations.

					
>>> import pprint
>>> var = [(1,2,3),"Parrot"]
>>> pprint.pprint(var)
[(1,2,3),"Parrot"]

				


Last updated on 1/30/2002
Python Developer's Handbook, © 2002 Sams Publishing

< BACKMake Note | BookmarkCONTINUE >

© 2002, O'Reilly & Associates, Inc.