![]() |
Python_2
1.0
|
Retrives the process identification (pid), given the process name. More...
Public Member Functions | |
def | __init__ (self) |
def | str2num (self, datum) |
def | getpid (self, proc) |
Private Attributes | |
__PIDOF | |
Retrives the process identification (pid), given the process name.
Used for getting pulseaudio id, for instance.
def _07_alarme_class.pid.__init__ | ( | self | ) |
def _07_alarme_class.pid.getpid | ( | self, | |
proc | |||
) |
Return the ID of the given process.
References _07_alarme_class.pid.__PIDOF, and _07_alarme_class.pid.str2num().
def _07_alarme_class.pid.str2num | ( | self, | |
datum | |||
) |
A conversion function that "guesses" the best conversion.
Referenced by _07_alarme_class.pid.getpid().
|
private |
Referenced by _07_alarme_class.pid.getpid().