Answers for "open desktop applications using python"

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
0

how to make python open a program/desktop app

import os
os.system('start D:\\bharat\\sqldeveloper.exe')
Posted by: Guest on August-10-2021

Code answers related to "open desktop applications using python"

Python Answers by Framework

Browse Popular Code Answers by Language