![]() |
Python_2
1.0
|
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) |
Creates a class alarm to wake up at a given time and play a song.
def _07_alarme_class.fini | ( | ) |
Stops the song and the alarm.
Referenced by _09_tkhanoi.init(), and main().
def _07_alarme_class.main | ( | argv = None | ) |
Main program.
References fini(), mplayertv.getPlayer(), mplayertv.selectFile(), and _10_tkmpg123.state.