

def is_program_installed(basename):
    'Return program absolute path if installed in PATH\n    Otherwise, return None'
    for path in os.environ['PATH'].split(os.pathsep):
        abspath = osp.join(path, basename)
        if osp.isfile(abspath):
            return abspath

dataset/ETHPy150Open winpython/winpython/winpython/utils.py is_program_installed/original