Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to change python version

sudo update-alternatives --config python3 #Omar
Comment

how to set default python version linux

sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.<version you dont want default> 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.<version# you want default (ex:3.6)> 2

sudo update-alternatives --config python
Comment

python change version

!sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 1
Comment

PREVIOUS NEXT
Code Example
Python :: is vowel python 
Python :: add text to the middle of the window tkinter 
Python :: pandas drop rows with value in list 
Python :: global keyword python 
Python :: read a large dataframe in pandas 
Python :: python dict dot notation 
Python :: adjust size of plot 
Python :: numpy apply function to array 
Python :: python3 hello world 
Python :: Get a random joke in python 
Python :: how to make sun as first day in calendar python 
Python :: printing python dictionary values 
Python :: encrypt string python 
Python :: convert from 12 hrs to 24 python 
Python :: python if variable is greater than 
Python :: star pattern in python 
Python :: flask render_template 
Python :: join two dictionaries python 
Python :: python get index of first element of list that matches condition 
Python :: python horizontal line 
Python :: python count total no of word in a text 
Python :: how to run django tests 
Python :: count number of zeros in a number python 
Python :: phone number regex python 
Python :: django rest 
Python :: how to check if email exists in python 
Python :: pandas find location of values greater than 
Python :: descending python dataframe df 
Python :: prevent list index out of range python 
Python :: python program to add two numbers 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =