Linux =link= | Check Python Version On

python --version Python 2.7.18 3. Check Default Python Version On some systems, python may point to Python 2 or Python 3.

python3 -c "import sys; print(sys.version)" ls /usr/bin/python* or check python version on linux

python --version For more details (build date, compiler, etc.): python --version Python 2