Is it possible for a python script to limit the allocation of cpu power .
Right now I have a script (using only one core ) that uses 100% one processor core. I need him to use less than this amount.
I don't know if in python there is php equivalent of memory_limit ? or if there is a library for managing memory allocation (using sleep not a very elegant solution?
Thanks.
Hakim source share