On Oct 26, 4:30 am, mokhtar <[EMAIL PROTECTED]> wrote: > Hi > > Is it possible to renice the python process executing the current python > script ?:confused: > -- > View this message in > context:http://www.nabble.com/renice-tf4695834.html#a13422771 > Sent from the Python - python-list mailing list archive at Nabble.com.
On UNIX: >>> import os >>> os.system("renice -n %d %d" % ( new_nice, os.getpid() ) ) (untested) I don't know if windows has the concept of renice... -Dan -- http://mail.python.org/mailman/listinfo/python-list