Skip to content

Python 2 to Python 3 Default

Jignesh Greycube edited this page Aug 26, 2020 · 3 revisions

python --version

nano ~/.bashrc

Type alias python=python3 on to a new line at the top of the file then save the file with ctrl+o and close the file with ctrl+x.

source ~/.bashrc

Reference :

Source

Clone this wiki locally