def write_template(fn, lang="<STR_LIT>"):
with open(fn, "<STR_LIT:wb>") as fh:<EOL><INDENT>if lang == "<STR_LIT>":<EOL><INDENT>fh.write(PY_TEMPLATE)<EOL><DEDENT>elif lang == "<STR_LIT>":<EOL><INDENT>fh.write(SH_TEMPLATE)<EOL><DEDENT><DEDENT>
Write language-specific script template to file.

Arguments:

  - fn(``string``) path to save the template to
  - lang('python', 'bash') which programming language