Horje
use python3.7 as default Code Example
use python3.7 as default
Simple solution is edit .bashrc and put this line:

alias python3=python3.7
Whenever you will write python3 it will replace it with python3.7.

Or you can use command update-alternatives which is preferred i.e:

sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 2
So here python3.7 will have higher priority then python3.6. Then use:

sudo update-alternatives --config python3
Press the enter key if you are satisfied




Python

Related
actual keystroke python Code Example actual keystroke python Code Example
python better while loop that count up Code Example python better while loop that count up Code Example
python for loop with array Code Example python for loop with array Code Example
python format float Code Example python format float Code Example
how to print something with tkinter Code Example how to print something with tkinter Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7