you can always start the process with nice pythonscript ,
but if you want to set a good level in a script, you can do:
import os os.nice(20)
You can gradually increase a good level longer than a script, so it uses less and less resources over time, which is a simple matter of integrating it into a script.
Also, from outside the script, after you run it, you should use renice -p <pid>
Petesh
source share