Re: [Tutor] hardware specs from python on OSX

2006-11-08 Thread Jordan Greenberg
Yi Qiang wrote: > Hi, > 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 >

Re: [Tutor] hardware specs from python on OSX

2006-11-08 Thread Alan Gauld
"Yi Qiang" <[EMAIL PROTECTED]> 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? OSX is just BSD Unix so most things will be available in /p

Re: [Tutor] hardware specs from python on OSX

2006-11-07 Thread Danny Yoo
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 sy

[Tutor] hardware specs from python on OSX

2006-11-07 Thread Yi Qiang
Hi, 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 s