code: def write_template(fn, lang="python"):
      
      with open(fn, "wb") as fh:
          if lang == "python":
              fh.write(PY_TEMPLATE)
          elif lang == "bash":
              fh.write(SH_TEMPLATE)
docs: Write language-specific script template to file.
  
      Arguments:
  
        - fn(``string``) path to save the template to
        - lang('python', 'bash') which programming language