[Tutor] program to count keys with timer display and clock display

Lloyd Kvam pythontutor@venix.com
Thu, 25 Apr 2002 10:51:40 -0400


Thank you for your suggestions.  He starts work this weekend.  I
hope he will teach me what he learns.

Lloyd Kvam wrote:

> My son (age 18) is looking to write a program that would count 
> keypresses while
> displaying a 15 minute countdown timer and the current time.  He wants 
> this to
> run under Linux and Windows.  He wants to be able to distinguish keys at 
> a relatively
> low level e.g. RightShift-a, LeftShift-a.
> 
> I (of course) recommended learning some Python to do this, but then 
> started checking.
> The curses module would work for Linux, but not Windows.
> The WConio module would work for Windows, but is fairly different from 
> curses.
> PyGame seems to support timers and keypresses, but looks to be more 
> complex.
> 
> My inclination is to recommend writing two programss, one based on 
> WConio and the other
> based on curses.
> 
> Any suggestions??
> 


-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice: 
603-443-6155
fax: 
801-459-9582