Answers for "how to have python open an application in your computer"

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)
Posted by: Guest on July-20-2020

Code answers related to "how to have python open an application in your computer"

Python Answers by Framework

Browse Popular Code Answers by Language