how to check python version linux terminal code example Example: how to check python version python --version