code: def _write_file(partial_filename, content):
      filename = os.path.join(OUT_DIR, partial_filename)
  
      _mkdirp(os.path.dirname(filename))
  
      print("writing {} bytes to {}".format(len(content), filename))
      with open(filename, "w") as f:
          f.write(content)
  
file_path: ParlAI/website/generate.py
imports: import os
  import git
  import markdown
  import shutil
  from mdx_gfm import PartialGithubFlavoredMarkdownExtension
label_desc: Use image node_id 4 for calling a global function with example usage: _write_file(partial_filename, content) without return types