the right and wrong way to set python 3 as default on mac code example Example: set python 3 as default mac [ -e ~/.profile ] && . ~/.profile