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 :: launch application from python 
Python :: plotly colors 
Python :: python loop list backwards 
Python :: enumerate function in python for loop 
Python :: pick random value from dictionary python 
Python :: python remove list from nested list 
Python :: python set console title 
Python :: pandas groupby and keep columns 
Python :: convert date to integer python 
Python :: python code for finding prime numbers 
Python :: python destructor 
Python :: create set in python 
Python :: range parameters python 
Python :: python add column with constant value 
Python :: fizz buzz fizzbuzz python game 
Python :: Python If ... Else 
Python :: python ^ symbol 
Python :: django add user to group 
Python :: numpy and operator 
Python :: Python program to calculate area of a rectangle using function 
Python :: DtypeWarning: Columns (7) have mixed types. Specify dtype option on import or set low_memory=False 
Python :: reading a dataset in python 
Python :: tuple unpacking 
Python :: combination in python math 
Python :: beautifulsoup docs 
Python :: python 3.3 release date 
Python :: rotatelist in python 
Python :: python input().strip() 
Python :: decoding 
Python :: add Elements to Python list Using insert() method 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =