how to check which python version is being used code example Example: check python version # To check Python version python -V ----or---- python --version