code: def write(text, path):
      
      with open(path, "wb") as f:
          f.write(text.encode("utf-8"))
docs: Writer text to file with utf-8 encoding.
  
      Usage::
  
          >>> from angora.dataIO import textfile
          or
          >>> from angora.dataIO import *
          >>> textfile.write("hello world!", "test.txt")