Antoine Pitrou added the comment: Or you could use the existing "cpu" resource. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue22263> _______________________________________