<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jul 22, 2014 at 3:17 PM, emile <span dir="ltr"><<a href="mailto:emile@fenx.com" target="_blank">emile@fenx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Then, how can I list all the function of pprint?<br>
</blockquote>
<br></div>
use the dir builtin:<br>
<br>
>>> dir (pprint)<br>
['PrettyPrinter', '_StringIO', '__all__', '__builtins__', '__doc__', '__file__', '__name__', '_commajoin', '_id', '_len', '_perfcheck', '_recursion', '_safe_repr', '_sys', '_type', 'isreadable', 'isrecursive', 'pformat', 'pprint', 'saferepr']</blockquote>

</div><br>Another useful feature is the "help" function (can be used like "help(pprint)" or just "help()" for interactive usage), which will also provide the documentation for each item in addition to just the names.</div>

<div class="gmail_extra"><br clear="all"><div>Chris</div>
</div></div>