

def make_script(script_dir, script_basename, source):
    script_filename = ((script_basename + os.extsep) + 'py')
    script_name = os.path.join(script_dir, script_filename)
    script_file = open(source, 'w')
    script_file.write(source)
    script_file.close()
    return script_name

dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/script_helper.py make_script/VarMisuse@45/66 `script_name`->`source`