how do i run python on mac code example
Example 1: install python in mac
brew install python3
brew install python2
Example 2: how to run mac terminal from python script
from applescript import tell
#set what command you want to run here
yourCommand = 'ls'
tell.app( 'Terminal', 'do script "' + yourCommand + '"')