intall python 3.7 mac os code example
Example 1: install python in mac
brew install python3
brew install python2
Example 2: install python 3.4 mac terminal
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"