Python  1.0
Functions
_07_alarme_windows Namespace Reference

Playing a song at a given time. More...

Functions

def alarme (h, m, fplayer, player, song)
 Plays a given song at given time using a given player. More...
 
def main (argv=None)
 Main function for testing. More...
 

Detailed Description

Playing a song at a given time.

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

Function Documentation

◆ alarme()

def _07_alarme_windows.alarme (   h,
  m,
  fplayer,
  player,
  song 
)

Plays a given song at given time using a given player.

Parameters
hstarting hour.
mstarting minute.
fplayerfull path of the player executable.
playera player.
songa song.
Returns
process id of the player.

Referenced by main().

◆ main()

def _07_alarme_windows.main (   argv = None)

Main function for testing.

Parameters
argvstarting hour and minute.

References alarme(), and _01d_dec2bin.input.