code: def write_text(path, data):
      write_file(path, data, binary=False)
  
imports: import codecs
  import errno
  import logging
  import os
  import random
  import shutil
  import six
  import stat
  import sys
  import library.python.func
  import library.python.strings
  import library.python.windows
label_desc: Use image node_id 24 for calling a global function with example usage: write_text(path, data) without return types