Physical RAM on win32

Michel Van den Bergh vdbergh at luc.ac.be
Fri Jan 11 08:47:58 EST 2002


David Sparrman wrote:

> Hello,
>
> Is there a simple way to check the amount of physical RAM on a win32
> computer?
> There is a function GlobalMemoryStatus (and GlobalMemoryStatusEx) that
> is available from C++, but Mark Hammonds win32all does not seem to
> expose them?
>
> regards,
> David

I would write my own C-extension. It is easy using SWIG, but
you can also do it directly.

Regards,
Michel





More information about the Python-list mailing list