[BangPypers] CPU Info
kausikram krishnasayee
kausikram at gmail.com
Wed Dec 16 11:59:56 CET 2009
On Wed, Dec 16, 2009 at 4:19 PM, Baiju M <mbaiju at zeomega.com> wrote:
> Hi,
> Is there any module available in Python (third party is fine)
> to get the number processors available in a multi-core system ?
> I would prefer something works cross-platform.
use multiprocessing module
in it do multiprocessing.cpu_count()
--
Kausikram Krishnasayee
Company: http://silverstripesoftware.com | Webpage: kausikram.net | Blog:
blog.kausikram.net | Twitter: http://twitter.com/kausikram | Email:
kausikram at gmail.com | Mobile: +91 9884246490
More information about the BangPypers
mailing list