How do I point python to python 3 in Linux?

Daniel William

New member
How do I point python to python 3 in Linux?
Answer
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. Then, back at your command line type source ~/. bashrc . Now your alias should be permanent.
 

Tìm kiếm

Back
Top