Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

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
Comment

python version installed in ubuntu

# check all python version install in ubuntu
$ ls /usr/bin/python* # for path and version
$ whereis python # for path and version
$ which python # for path
$ ls -lach /usr/bin/python
$ for p in $(compgen -c python); do printf "%-16s" $p; $p --version; done
Comment

PREVIOUS NEXT
Code Example
Python :: how to print a string by reverse way in python 
Python :: lock in python 
Python :: Import CSV Files into R Using fread() method 
Python :: python bash command 
Python :: pathlib path get directory of current file 
Python :: python process memory usage 
Python :: modulus of python complex number 
Python :: how to make a for loop increment by 2 in python 
Python :: reverse python dict 
Python :: python turn true or false into 0 or 1 
Python :: replace nat with date pandas 
Python :: python filter list of strings 
Python :: python get name of function 
Python :: with urllib.request.urlopen("https:// 
Python :: time until 2021 
Python :: python write file 
Python :: 1 line if statement python 
Python :: lecture de fichier python 
Python :: pdf to text python 
Python :: ip regex python 
Python :: add column in a specific position pandas 
Python :: describe function in pandas 
Python :: distinct rows in this DataFrame 
Python :: what is pypy 
Python :: python django shell command 
Python :: what is python used for 
Python :: python take the month of date in new column 
Python :: get user ip address django 
Python :: create age-groups in pandas 
Python :: Ask a user for input python 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =