Python_2  1.0
Classes | Functions
_07_alarme_class Namespace Reference

Creates a class alarm to wake up at a given time and play a song. More...

Classes

class  alarm
 Builds an alarm for playing a music (mp3 file) at a pre-determined time. More...
 
class  clockState
 Holds the state of the clock (used for persistency). More...
 
class  location
 Class for adjusting the environment, according to the operating system and locale: bindir, tempdir, and execdir. More...
 
class  pid
 Retrives the process identification (pid), given the process name. More...
 
class  volume
 Class for setting parameters related to the volume control: mixer, channel, card, volume level, and a scale. More...
 

Functions

def fini ()
 
def main (argv=None)
 

Detailed Description

Creates a class alarm to wake up at a given time and play a song.

See also
http://docs.python.org/library/time.html
http://docs.python.org/library/thread.html
http://www.mpg123.de/
Author
Paulo Roma
Since
19/07/2009

Function Documentation

◆ fini()

def _07_alarme_class.fini ( )
Stops the song and the alarm.

Referenced by _09_tkhanoi.init(), and main().

◆ main()

def _07_alarme_class.main (   argv = None)