[Tutor] [Q] list and loop
Pablo Prieto
pablo.prieto@dulcesol.es
Tue, 27 Nov 2001 20:34:35 -0000
Hello!
I'm Pablo, from Spain.
How can I give time-slices of processing to the OS when I'm stuck in a very
cost-time loop?. I mean, not to freeze the system (NT, you know) while the
loop is on.
By example, something like the function doEvents() in VB
so it would be:
for i in range[NUMBER]:
aVeryTimeExpensiveFunction()
doEvents()
Is there an equivalent to doEvents() in Python?
Thanks in advance!!!
Yours sincerely,
Pablo Prieto.