code: def save_tsv_header(p, vs):
      'Write tsv header for Sheet `vs` to Path `p`.'
      trdict = tsv_trdict(vs)
      delim = options.delimiter
  
      with p.open_text(mode='w') as fp:
          colhdr = delim.join(col.name.translate(trdict) for col in vs.visibleCols) + '\n'
          if colhdr.strip():  # is anything but whitespace
              fp.write(colhdrf save_tsv_header(p, vs):
      'Write tsv header for Sheet `vs` to Path `p`.'
      trdict = tsv_trdict(vs)
      delim = options.delimiter
  
      with p.open_text(mode='w') as fp:
          colhdr = delim.join(col.name.translate(trdict) for col in vs.visibleCols) + '\n'
          if colhdr.strip():  # is anything but whitespace
              fp.write(colhdr)
docs: Write tsv header for Sheet `vs` to Path `p`.