Check for Python version