osx make python3 default code example
Example 1: which python mac
$ brew update && brew upgrade python
Example 2: set python 3 as default mac
[ -e ~/.profile ] && . ~/.profile
$ brew update && brew upgrade python
[ -e ~/.profile ] && . ~/.profile