code: def append_tsv_row(vs, row):
      'Append `row` to vs.source, creating file with correct headers if necessary. For internal use only.'
      if not vs.source.exists():
          with contextlib.suppress(FileExistsError):
              parentdir = vs.source.parent.resolve()
              if parentdir:
                  os.makedirs(parentdir)
  
          save_tsv_header(vs.source, vs)
  
      with vs.source.open_text(mode='a') as fp:
          fp.write('\t'.join(col.getDisplayValue(row) for col in vs.visibleCols) + '\n'f append_tsv_row(vs, row):
      'Append `row` to vs.source, creating file with correct headers if necessary. For internal use only.'
      if not vs.source.exists():
          with contextlib.suppress(FileExistsError):
              parentdir = vs.source.parent.resolve()
              if parentdir:
                  os.makedirs(parentdir)
  
          save_tsv_header(vs.source, vs)
  
      with vs.source.open_text(mode='a') as fp:
          fp.write('\t'.join(col.getDisplayValue(row) for col in vs.visibleCols) + '\n')
docs: Append `row` to vs.source, creating file with correct headers if necessary. For internal use only.