[Tutor] Still Can't Find Timed While Loops

Dick Moores rdm at rcblue.com
Sat Dec 8 09:29:02 CET 2007


At 09:11 PM 12/6/2007, earlylight publishing wrote:
>Hello all,
>
>I now have my bit of code in while loop form and it works!  It's 
>great but not exactly what I wanted to do.  I've been googling my 
>heart out and I find lots of info on while loops and lots of info on 
>timers that will execute an action AFTER a given interval but 
>nothing on a timer that will execute an action DURING a given 
>interval.  What I'd really like to do at this point in my game is 
>have the player execute the loop for 30 seconds then have it print 
>the final score and break.  Does anyone out there have any code 
>that'll do that?

Did you miss this reply to an earlier post of yours?: 
<http://mail.python.org/pipermail/tutor/2007-December/058952.html> 
Doesn't that code do what you want?

Dick Moores




More information about the Tutor mailing list