how to check if a file is a directory or regular file in python?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/955941/how-to-identify-whether-a-file-is-normal-file-or-directory-using-python">How to identify whether a file is normal file or directory using python</a>  </p>
</blockquote>



<p>How do you check if a path is a directory or file in python?</p>
