def get_platform():
    """Get the platform identifier for the current platform.

    This is similar to the function distutils.util.get_platform(); it returns
    a string identifying the types of platform on which binaries built on this
    machine can reasonably be expected to run.

    Unlike distutils.util.get_platform(), the value returned by this function
    is guaranteed not to contain any periods. This makes it much easier to
    parse out of filenames.
    """
    global _CACHED_PLATFORM
    if _CACHED_PLATFORM == None:
        _CACHED_PLATFORM = distutils.util.get_platform().replace(".","_")
    return _CACHED_PLATFORM
dataset/ETHPy150Open cloudmatrix/esky/esky/util.py/get_platform/operator `is` -> `==`