Python install on mac code example
Example 1: which python mac
$ brew update && brew upgrade python
Example 2: install python in mac
brew install python3
brew install python2
$ brew update && brew upgrade python
brew install python3
brew install python2