Counting processors

2005-07-25 Thread Pauldoo
Hi,
Is a way in python to obtain the total number of processors present in
the system?

os.platform doesn't seem to contain anything useful.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Counting processors

2005-07-25 Thread Pauldoo
Yeh well I know of /proc/cpuinfo (due to linux's hacked up non-unix
/proc, *grumble*) and the NUMBER_OF_PROCESSORS environment variable on
windows.  I was just hoping for a slightly more platform independant
way of doing it.

-- 
http://mail.python.org/mailman/listinfo/python-list