title: Checking a file exists (and ignoring case) in Python
body: <p>I have a Python script and I want to check if a file exists, but I want to ignore case</p>
  
  <p>eg. </p>
  
  <pre><code>path = '/Path/To/File.log'
  if os.path.isfile(path):
     return true
  </code></pre>
  
  <p>The directory may look like this "/path/TO/fILe.log". But the above should still return true.</p>