HOE TO RUN PYTHON FILE ON TERMINAL MAC code example
Example: 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 + '"')