[Tutor] hardware specs from python on OSX

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Wed Nov 8 05:31:31 CET 2006



On Tue, 7 Nov 2006, Yi Qiang wrote:

> I am trying to get some basic information about the computer's hardware 
> specs in OSX in python.  In linux I can get most of what I need from the 
> /proc filesystem.  Is there an equivalent in OSX?  If not, where else 
> can I get information about the system from?  I need CPU model, # of 
> cpus, cpu speed, physical memory, etc.

Hi Yi,

This is a bit platform-specific; I'm not sure if we can help you with 
this.  You may want to ask this on the MacPython mailing list:

     http://www.python.org/community/sigs/current/pythonmac-sig/

Good luck!


More information about the Tutor mailing list