Message-ID: <40001318.6020000@alum.mit.edu> Date: Sat, 10 Jan 2004 09:58:32 -0500 From: Will Ware Newsgroups: alt.sources Subject: testing newsreader ObSourceCode: Here is a dumb little kitchen timer in Python, (assuming your computer's speaker is audible from the kitchen). #! /usr/bin/python "Cheesy little kitchen timer" import sys, time, string minutes = string.atof(sys.argv[1]) time.sleep(60 * minutes) # time has expired, do several beeps for i in range(10): sys.stdout.write("\007") sys.stdout.flush() time.sleep(0.2)