Python is too fast !

Fuzzyman michael at foord.net
Sat Feb 21 11:10:11 EST 2004


michael at foord.net (Fuzzyman) wrote in message news:<8089854e.0402210039.5b761d0f at posting.google.com>...
[snip..]
> 
> I'm looking for another suggestion to 'waste time' - preferably in a
> 'non-processor-intensive' way, that returns control to the sytem for
> an instant ? (also preferably cross platform).
> 
> If you have a suggestion it would be helpful if you could e-mail it to
> me at fuzzyman AT atlantibots DOT org DOT uk as well as post it here -
> because I only have intermittent access to the net.
> 
> 

I think I was fooled by the fact that adding the print statement
seemed to free up the window. (It was originally only added as a
trace).

What I really wanted to do was to force the window to refresh - a bit
of googling on the subject (and a helpful email from Cameron Laird)
brought me to the Tk update() method which works great.

Unfortunately I can't FTP the code until Monday... but I'm very
pelased with it......

Fuzzy



> MANY THANKS
> 
> 
> Fuzzyman
> 
> http://www.voidspace.org.uk/atlantibots/pythonutils.html



More information about the Python-list mailing list