which python mac
$ brew update && brew upgrade python
which python mac
$ brew update && brew upgrade python
install python 3 on mac
$ brew install python3
how to make python open an application on mac
import os
os.system("""osascript -e 'tell app "Safari" to open'""")
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 + '"')
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us