Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to launch an application using python

import subprocess

subprocess.Popen("C:WindowsSystem32
otepad.exe") #This will launch notepad But you can enter the path of an executable and this will launch it.
Comment

PREVIOUS NEXT
Code Example
Python :: plotly colors 
Python :: python plot confidence interval 
Python :: temp python 
Python :: default arguments 
Python :: swap variables 
Python :: python 1.0 
Python :: python combine if statements 
Python :: python class variable 
Python :: sort one array based on another python 
Python :: django messages framework 
Python :: read bin file python 
Python :: change value in dataframe 
Python :: python call function in the same class 
Python :: python < 
Python :: bokeh bar chart 
Python :: how to measure how much your of cpu your program is using in python 
Python :: __str__python 
Python :: how to download chatterbot 
Python :: python round function example 
Python :: np.vstack python 
Python :: update all modules python 
Python :: how to refresh page in flask 
Python :: python own function and map function 
Python :: del en python 
Python :: float in python 
Python :: python elif 
Python :: iterating over lines in a file 
Python :: jquery datepicker disable 
Python :: count substring in string python 
Python :: opencv rgb to gray custom 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =