Why does not pprint work?

fl rxjwg98 at gmail.com
Tue Jul 22 18:05:23 EDT 2014


On Tuesday, July 22, 2014 5:51:07 PM UTC-4, emile wrote:
> On 07/22/2014 02:42 PM, fl wrote:
> pprint is a module name -- you need to invoke the pprint function from 
> within the pprint module:
> pprint.pprint(board)

Thanks. I am curious about the two pprint. Is it the first pprint the name of the
module? The second pprint is the function name?

Then, how can I list all the function of pprint?

And, is there a way to list the variables I create in Python?



More information about the Python-list mailing list