check Python version