Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check if an application is open in python

#Iterates through all the programs running in your system and checks for the one in the string
import psutil    
"someProgram" in (p.name() for p in psutil.process_iter())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #application #open #python
ADD COMMENT
Topic
Name
3+5 =