My LogiX is Undeniable.
from win32com.client import GetObject def OpenProcessFromName(name = "python.exe"): """Opens a process by name.""" PID = getPID(name) phandle = OpenProcess(PID) return(phandle)