python --version For more details (build date, compiler, etc.):
1. Check Python 3 Version Most modern Linux distributions come with Python 3 pre-installed. check python version on linux
python3 -VV or
python2 --version or