Python: os.path.exists vs os.path.isdir
<p>I'm checking to see if a directory exists, but I noticed I'm using  path.exists instead of path.isdir.  Both work just fine, but I'm curious as to what the advantages are for using isdir instead of exists. </p>
