Garth Kidd has been messing with Windows thread priorities from Python. He writes,
It’s easy to fire up Task Manager to lower the process priority, but I much prefer to automate it so I looked for a way for Python to adjust its own priority. I couldn’t find anything in win32all to do the job, so I did it the “hard” way: a quick Google search for process priority told me the entry point for the API, and ctypes made it trivial to call it…
Excellent. I have to do that later this week, and my first stop was going to be win32all too. Thanks for sharing, Garth.
Comments