Better utilization of duo-core?

Fredrik Lundh fredrik at pythonware.com
Thu Jul 13 13:55:43 EDT 2006


John Henry wrote:

> How do I detect whether I have additional CPUs in the system?  The
> google search turns up answer about a Sun workstation but not Windows
> XP.

count = int(os.environ.get("NUMBER_OF_PROCESSORS", 1))

</F>




More information about the Python-list mailing list