(cls)
Get Windows/Linux/OSX-specific details as a string.
Get Windows/Linux/OSX-specific details as a string.
Get Windows / Linux / OSX - specific details as a string .
def getPlatformSpecificDetails(cls):
        """Get Windows/Linux/OSX-specific details as a string."""
        win = platform.win32_ver()
        osx = platform.mac_ver()
        if win[0]:
            return "{} {} {}".format(*win[:3])
        elif osx[0]:
            return "OSX {} {}".format(osx[0], osx[2])
        else:
            return "no specific system info"
def getPlatformSpecificDetails ( cls ) : win = platform . win32_ver ( ) osx = platform . mac_ver ( ) if win [ 0 ] : return "{} {} {}" . format ( * win [ : 3 ] ) elif osx [ 0 ] : return "OSX {} {}" . format ( osx [ 0 ] , osx [ 2 ] ) else : return "no specific system info"