[orca-list] time...
- From: Daniel Dalton <d dalton iinet net au>
- To: orca list <orca-list gnome org>
- Subject: [orca-list] time...
- Date: Fri, 16 May 2008 22:32:43 +1000 (EST)
I have put together a loop that makes the seconds and the minutes and the
hour update on my braille display when it changes.
Eg. I can see the seconds changing.
However my loop freezes the system. (I know why, but what can I test for
so when another key is pressed my if will be executed?)
In the time function:
while True:
message = time.strftime("%H:%M:%S", time.localtime())
orca.braille.displayMessage(message)
if <The condition I am asking about>:
break
OK, I don't have a braille display from where I am sending this email
from, so sorry about indenting issues.
I have obviously imported the required modules as well.
So what condition can I check for to break out of the loop?
Apart from that it actually works.
Thanks,
--
Daniel Dalton
http://members.iinet.net.au/~ddalton/
<d dalton iinet net au>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]