Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to open any application using python

import os

os.system("program_name") # To open any program by their name recognized by windows

# OR

os.startfile("path to application or any file") # Open any program, text or office document
Comment

PREVIOUS NEXT
Code Example
Python :: how to open an application in python 
Python :: how to make an application using python 
Python :: np.all() 
Python :: get size of file python 
Python :: python shift array 
Python :: text python 
Python :: yahoo finance python chart 
Python :: extract list from string python 
Python :: python multiprocessing queue 
Python :: pandas integer to date 
Python :: docker python 3.11 
Python :: time library python 
Python :: python sort array by lambda 
Python :: class python example 
Python :: draw canvas in python 
Python :: for range python 
Python :: how to convert user integer input to string in python 
Python :: optional arguments python 
Python :: python max with custom function 
Python :: how to store a return value in a variable in python 
Python :: python coin flip 
Python :: create a list of the keys in python dictionary 
Python :: show which columns in dataframe have NA 
Python :: for loop to while loop in python 
Python :: python symbol 
Python :: eval() function in python 
Python :: text detection from image using opencv python 
Python :: python string operations 
Python :: read header of csv file python 
Python :: fastest sorting algorithm java 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =