Check Python version