# Simple S60 stopwatch - Silas S. Brown 2010 - Public Domain # Limitations: You can't set the font, and it's very small. # (I can't get appuifw's font commands to work on my device.) import appuifw, e32, time, keycapture, key_codes def sleepto(endtime): while time.time()