Answers for "terminal using old python mac"

4

how to set default python version in macos

ln -s -f /usr/local/bin/python3.7 /usr/local/bin/python
Posted by: Guest on April-24-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 "terminal using old python mac"

Python Answers by Framework

Browse Popular Code Answers by Language