code: def wrtxt_hier(self, fout_txt):
          
          with open(fout_txt, 'wb') as prt:
              self.prt_hier(prt)
              print("  WROTE: {TXT}".format(TXT=fout_txt))
docs: Write hierarchy below specfied GO IDs to an ASCII file.