How, in the simplest possible way, distinguish between Windows XP and Windows Vista, using Python and pywin32 or wxPython?
Essentially, I need a function that called
import platform if platform.release() == "Vista": # Do something.
or
import platform if "Vista" in platform.release(): # Do something.