One issue is the problem of indirect documentation, and it comes down to this one line: &quot;import sys, os, subprocess, glob&quot;.<p>How do you find which module you need?  Search on the web may be the best answer.  In shell at least you have &quot;man -k&quot;.<p>Once I know the module, how do I get its documentation?  Here at least there is an answer: import glob; help(glob);<p>But how good is this documentation?  If I do it I get:<p><pre><code>    glob(pathname)
    Return a list of paths matching a pathname pattern.
    
    The pattern may contain simple shell-style wildcards a la fnmatch.
</code></pre>
Already python is telling me that the &quot;man&quot; documentation is going to be better :-).