define python version mac code example Example: which python mac $ brew update && brew upgrade python