how to update python to 3.9.5 thru command in 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