title: Python introspection: description of the parameters a function takes
body: <p>Is there is a tool similar to <code>dir()</code> for modules that will tell me what parameters a given function takes? For instance,  I would like to do something like <code>dir(os.rename)</code> and have it tell me what parameters are documented so that I can avoid checking the documentation online, and instead use only the Python scripting interface to do this.</p>