sysplatform
sys.platform is a string attribute in Python’s sys module that identifies the operating system interface the interpreter is using. The value is determined when the interpreter starts and is intended for lightweight checks to tailor behavior to the underlying platform.
Common values include 'linux' for Linux, 'darwin' for macOS, and 'win32' for Windows. Some environments may also
Because sys.platform provides only a brief identifier, many developers rely on the platform module for more
Usage notes and limitations: sys.platform is useful for simple OS branching (for example, executing Windows-specific code