How to determine if a GH python node runs within a Windows or Mac environment

This should do it (haven’t tested on Mac though):

import platform
print platform.platform()