

def _get_cscript_path():
    'Return the full path to cscript.exe or None.'
    for dir in os.environ.get('PATH', '').split(os.pathsep):
        cscript_path = os.path.join(dir, 'cscript.exe')
        if os.path.exists(cscript_path):
            return cscript_path

dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_winsound.py _get_cscript_path/original