how to use os library on mac python code example
Example 1: which python mac
$ brew update && brew upgrade python
Example 2: install python in mac
brew install python3
brew install python2
$ brew update && brew upgrade python
brew install python3
brew install python2