how to set up python 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
Example 3: install python 3 on mac
$ brew install python3
$ brew update && brew upgrade python
brew install python3
brew install python2
$ brew install python3