Answers for "check python version on ubuntu"

1

check all python versions ubuntu

# View as version vise:
for p in $(compgen -c python); do printf "%-16s" $p; $p --version; done
python2.7      Python 2.7.6
python3.4m     Python 3.4.3

# view as:
$ compgen -c python
python2.7
python3.4m
Posted by: Guest on March-07-2021
13

how to find python version

python --version
Posted by: Guest on April-28-2020

Code answers related to "check python version on ubuntu"

Python Answers by Framework

Browse Popular Code Answers by Language