[Pythonmac-SIG] How to get MacOS X version?
Russell E. Owen
rowen at cesmail.net
Wed Mar 29 20:54:51 CEST 2006
How can I get the version of MacOS X within a python program?
(e.g. 10.4.5 -- something that is recognizable, rather than the kernel
version).
In theory I can get it from gestalt, but I haven't figured out how to do
it via the Carbon package, or even if it's possible.
Any hints?
-- Russell
P.S. I'm going to be trying to figure out the same thing for unix and
even Windows. I think I know how to do those, but if you happen to know
or have sample code, that'd be great.
More information about the Pythonmac-SIG
mailing list