Answers for "python command on mac"

4

which python mac

$ brew update && brew upgrade python
Posted by: Guest on September-23-2020
0

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 + '"')
Posted by: Guest on June-30-2020

Code answers related to "python command on mac"

Python Answers by Framework

Browse Popular Code Answers by Language