Answers for "how to check if an app is running using python"

4

check if an application is running 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())
Posted by: Guest on June-14-2020

Code answers related to "how to check if an app is running using python"

Python Answers by Framework

Browse Popular Code Answers by Language