Source code for pytablewriter.writer.text._tsv

# encoding: utf-8

from __future__ import absolute_import, unicode_literals

from ._csv import CsvTableWriter


[docs]class TsvTableWriter(CsvTableWriter): """ A table writer class for tab separated values (TSV) format. :Example: :ref:`example-tsv-table-writer` """ FORMAT_NAME = "tsv" @property def format_name(self): return self.FORMAT_NAME def __init__(self): super(TsvTableWriter, self).__init__() self.column_delimiter = "\t"