title: python os.path.isfile return with false
body: <p>I am trying to search a file from different directories. i see that file does exist but still os.path.isfile returns false.</p>
  
  <p>Since my file can be in multiple directory </p>
  
  <pre><code>import os
  
  me = "/user"
  my_home = "/home"
  my_direcotry = "/user/jsbt"
  my_file =  "/myfile"
  
  my_path = me + my_home + my_directory + my_file
  
  print(my_path)
  
  if (os.path.isfile( my_path )) is True:
  print ("Path was found")
  else:
  print ("Path does not exist")
  sys.exit(0)
  </code></pre>
  
  <p>This above always results in false and it is not able to find the file.</p>
  
  <p>But i do have myfile located</p>
  
  <p>Any suggesion? </p>