import sys IS_WINDOWS = sys.platform == 'win32' IS_MACINTOSH = sys.platform == 'darwin' IS_LINUX = sys.platform == 'linux'