def is_program_installed(basename):
    for path in os.environ["PATH"].split(os.pathsep):
        abspath = osp.join(path, basename)
        if osp.isfile(abspath):
            return abspath


# =============================================================================
# Environment variables
# =============================================================================
Return program absolute path if installed in PATH
dataset/ETHPy150Open winpython/winpython/winpython/utils.py/is_program_installed