Open the terminal. · Type nano ~/.bash_profile and enter. · Now add the line alias python=python3 · Press CTRL + x then y to save it. (Or just save ... ... <看更多>
http://nedbatchelder.com/blog/200810/switching_python_versions_on_windows.html. Change the .py file extension to point to a different. Python installation. ... <看更多>