python open program code example
Example 1: how to open any program on python
import os
os.system('notepad.exe')
Example 2: open applications by python
dir = 'C:\\myprogram.exe'
import os
os.startfile(dir)
os.system(dir)
import subprocess
subprocess.Popen([dir])
subprocess.call(dir)