Check Python Version — On Linux ((better))
python3 -VV or
python3 -V Python 3.10.12 2. Check Python 2 Version (if installed) Some older systems or legacy applications still use Python 2. check python version on linux
python --version For more details (build date, compiler, etc.): python3 -VV or python3 -V Python 3
python3 -c "import sys; print(sys.version)" ls /usr/bin/python* or etc.): python3 -c "import sys
