Check Python Version On Linux Site

python3 -VV or

1. Check Python 3 Version Most modern Linux distributions come with Python 3 pre-installed. check python version on linux

python3 -V Python 3.10.12 2. Check Python 2 Version (if installed) Some older systems or legacy applications still use Python 2. python3 -VV or 1

python3 --version or

python2 --version or

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