Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

use python3 as default ubuntu

compgen -c python
sudo su
update-alternatives --install /usr/bin/python python /usr/bin/python3 1
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #default #ubuntu
ADD COMMENT
Topic
Name
4+1 =