control CPU usage

kakarukeys kakarukeys at gmail.com
Sat Sep 19 18:17:56 CEST 2009


Hi,

When I am running a loop for a long time, calculating heavily, the CPU
usage
is at 100%, making the comp not so responsive. Is there a way to
control the
CPU usage at say 80%? putting a time.sleep(0.x) doesn't seem to help
although CPU usage level is reduced, but it's unstable.

Regards,
W.J.F.



More information about the Python-list mailing list