title: Limit CPU usage for a script
body: <p>Is it possible for a Python script to limit the CPU power allocated to it?</p>
  <p>Right now, I have a script (using only one core) that is using 100% of one CPU's core. I need it to use less than that amount.</p>
  <p>Is there an equivalent to PHP's <code>memory_limit</code> in Python? or is there a library to manage memory allocation? (using <code>sleep</code> isn't a very elegant solution)</p>