python upgrade from 2.7 to 3.7 mac code example
Example: mac upgrade python to 3.8
brew install python3
brew update && brew upgrade python
alias python=/usr/local/bin/python3
brew install python3
brew update && brew upgrade python
alias python=/usr/local/bin/python3