<reponame>Chandler-Song/Python_Awesome<filename>Python_ABC/2-13timeSchedule/4launchOtherProgramsFromPython.py<gh_stars>0
import subprocess

# subprocess.run(['open', '/Applications/Calculator.app'])
# subprocess.run(['start', '/Applications/Calculator.app'], shell=True)

# subprocess.run(['open','/Applications/Textedit.app', 'poem.rtf'])

# import webbrowser
# webbrowser.open('https://study.163.com/course/courseMain.htm?courseId=1004106037')

# subprocess.run(['open', 'datetimeBasic.py'])
# subprocess.run(['open', 'poem.rtf'])


subprocess.run(["ls", "-l", "/Users/Smonkey/documents/python/pythonabc_online"])
subprocess.run(["ls", "-l", "/Users/Smonkey/documents/python/pythonabc_online"])


# subprocess.run(["ls", "-l", "/Users/Smonkey/documents/python/pythonabc_online"], stdout=subprocess.PIPE)才可以

#