Why is the listdir() function part of os module and not os.path?
<p><code>os.path</code> module seems to be the default module for all path related functions. Yet, the <code>listdir()</code> function is part of the <code>os</code> module and not <code>os.path</code> module, even though it accepts a path as its input. Why has this design decision been made ?</p>
