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 :: python combine side by side dataframes 
Python :: pandas left join 
Python :: python runtime 
Python :: flask if statement 
Python :: python copy file and rename 
Python :: visualize correlation matrix python 
Python :: add sheet to existing workbook openpyxl 
Python :: python gui capture user input 
Python :: create virtualenv in pythonanywhere 
Python :: matplotlib title 
Python :: blender python set object location 
Python :: discord.py dm specific user 
Python :: sleep in py 
Python :: python file open modes 
Python :: exponentiation is the raising of one number to the power of another. this operation is performed using two asterisks **. 
Python :: python os checj if path exsis 
Python :: pandas sum multiple columns groupby 
Python :: tesseract.exe python 
Python :: covariance matrix python 
Python :: swap keys and values in dictionary python 
Python :: numpy remove rows containing nan 
Python :: how to convert dataframe to list in python 
Python :: how to read pdf in python 
Python :: remove multiple space python 
Python :: how to take list of float as input in python 
Python :: get python version in code 
Python :: plt off axis 
Python :: decisiontreeclassifier sklearn 
Python :: django settings module LOGIN_URL 
Python :: python except show error 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =