&gt; How do you find which module you need? Search on the web may be the best answer.<p>Experience, stdlib reference, web searches. Same as with bash.<p>&gt; In shell at least you have &quot;man -k&quot;.<p>I really disagree here. Since you took `glob` as an example, how do you get to the explanation of `for test in *.in`? Go on, try that with &quot;man -k&quot;.<p>&gt; Already python is telling me that the &quot;man&quot; documentation is going to be better<p>I&#x27;m not trying to say python is good here (well, the stdlib documentation on the web is actually pretty good, it&#x27;s just not easily available from the console). But the idea that bash&#x2F;man is more discoverable is just wrong... You can find the glob under &quot;Pattern Matching&quot; section which is all right, but you need to understand most of the expansion mechanism of shell to know it applies to &quot;for&quot;. Then again &quot;for&quot; itself has a definition that belongs more to a CS material, than to a usage guide.