title: os.path.isFile(file) throwing error in Python 2.7
body: <p>Since my code is so simple, I will include it in its entirety:</p>
  
  <pre><code>#!/usr/bin/python
  import sys
  import os.path
  def main(argv):
      if len(sys.argv) &lt; 3:
          print "insuficient arguments. Use like: lichcrypt &lt;d/e&gt; &lt;/path/to/file&gt;"
      else:
          operation = argv[1]
          filepath = argv[2]
          print operation
          print os.path.isFile(filepath)
  main(sys.argv)
  </code></pre>
  
  <p>The error, when run script-style from cmd line is:</p>
  
  <pre><code>liam@liam-GA-970A-UD3:~$ lichcrypt.py something not/a/file/path
  something
  Traceback (most recent call last):
    File "/home/liam/bin/lichcrypt.py", line 12, in &lt;module&gt;
      main(sys.argv)
    File "/home/liam/bin/lichcrypt.py", line 11, in main
      print os.path.isFile(filepath)
  AttributeError: 'module' object has no attribute 'isFile'
  </code></pre>
  
  <p>Now, this code is obviously very useless. Eventually it will encrypt files, but untill I can get my hands on the file itself it can't do anything.</p>
  
  <p>Any thoughts on why os.filepath.isFile() does not seem to exist anymore? </p>