Answers for "how to open app using python"

2

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
Posted by: Guest on January-05-2021
3

how to close an application from python

import os
os.close(filename);
Posted by: Guest on April-02-2020

Code answers related to "how to open app using python"

Python Answers by Framework

Browse Popular Code Answers by Language