cara menjalankan terminal mac dari skrip python

from applescript import tell

#set what command you want to run here
yourCommand = 'ls'

tell.app( 'Terminal', 'do script "' + yourCommand + '"') 
Healthy Hawk