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 a
I can't recall what your initial project was. I think it was a text
adventure. I imagine that you have bigger ideas regarding timers then
your current code suggests. Maybe you should investigate a time aware
long-running process. Twisted Python is such a beast.
While I can't recommend it's use as
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 gi
Disclaimer: I can't test this while I'm at work, but using
"while 1:"
instead of
"while time.time() - start < 30.0"
would be better.
In the former case if you press enter after time has run out, it won't
print the time, in the latter you could potentially make a correct
answer after time has
On Dec 7, 2007 2:36 PM, Scottie Hotchkiss <[EMAIL PROTECTED]> wrote:
> Disclaimer: I can't test this while I'm at work, but using
>
> "while 1:"
>
> instead of
>
> "while time.time() - start < 30.0"
>
> would be better.
>
> In the former case if you press enter after time has run out, it won't
> pr
bhaaluu wrote:
> On Dec 7, 2007 10:41 AM, bob gailer <[EMAIL PROTECTED]> wrote:
>
>> 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
>>> an
On Dec 7, 2007 10:41 AM, bob gailer <[EMAIL PROTECTED]> wrote:
> 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
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