def _find_script(script_name):
    if os.path.isfile(script_name):
        return script_name
    path = os.getenv('PATH', os.defpath).split(os.pathsep)
    for folder in path:
        if not folder:
            continue
        fn = os.path.join(folder, script_name)
        if os.path.isfile(fn):
            return fn

    sys.stderr.write('Could not find script {0}\n'.format(script_name))
    raise SystemExit(1)
Low-level, direct access to the socket.send (data must be already
dataset/ETHPy150Open fabianp/memory_profiler/memory_profiler.py/_find_script--crossover with--dataset/ETHPy150Open johnpaulett/python-hl7/hl7/client.py/MLLPClient.send