[python-win32] Windows process priority setting question... (cross-post)

Ray S rays at blue-cove.com
Thu Dec 16 01:45:15 CET 2004


Is it possible to have an app re-set its own priority, a-la task manager?

I see that 2.4+ has the ability for sub-processes, but only on creation.

Apparently
win32process.SetPriorityClass(handle, dwPriorityClass)
and
PyCWinThread.SetThreadPriority(priority)
allows one to change a sub while a the sub is running, but what about the 
current?

Ray



More information about the Python-win32 mailing list