Finding Clock speed

Andrew Bennetts andrew-pythonlist at puzzling.org
Mon Jan 13 22:48:49 EST 2003


On Tue, Jan 14, 2003 at 03:27:36AM +0000, Josh wrote:
> Peter Hansen <peter at engcorp.com> wrote in 
> news:3E237953.4C787F46 at engcorp.com:
> 
> > Josh wrote:
> >> 
> >> Is there any way at all to find the clock speed on a Windows box from a
> >> Python module?
> > 
> > Hmmm... is this to use in calculations of some kind, or just for
> > display purposes?
> > 
> > -Peter
> > 
> 
>  Well I just want to display it among other things. Any clue how its done?

I believe you can find that information in the registry under
HKEY_LOCAL_SYSTEM or something... dig around a bit.  I think the registry
key may be called "Mhz", so perhaps try searching for that in regedit?

-Andrew.






More information about the Python-list mailing list