Beispiel #1
0
    def __init__(self, pretty = True):
        """
        Constructor for thee Python_Formatter class
        """
        Formatter.__init__(self)

        self.pretty = pretty
Beispiel #2
0
    def __init__(self, pretty = True, indent = 3, border_size = 1):
        """
        """
        Formatter.__init__(self)

        self.m_pretty = pretty
        self.m_indent = indent
        self.m_border_size = border_size
Beispiel #3
0
    def __init__(self, pretty=True, indent=3, border_size=1):
        """
        """
        Formatter.__init__(self)

        self.m_pretty = pretty
        self.m_indent = indent
        self.m_border_size = border_size
Beispiel #4
0
    def __init__(self, lines=True, header=1, alignment=None):
        """
        Constructor for the Table_Formatter class
        """
        Formatter.__init__(self)

        self.m_display_lines = lines
        self.m_header = header
        self.m_alignment = None
Beispiel #5
0
    def __init__(self, lines = True, header = 1, alignment = None ):
        """
        Constructor for the Table_Formatter class
        """
        Formatter.__init__(self)

        self.m_display_lines = lines
        self.m_header        = header
        self.m_alignment     = None
Beispiel #6
0
    def __init__(self, delimiter = "|", escapechar="\\", quotechar='"', skipinitialspace=True, lineterminator="\n", doublequote=False):
        """
        Constructor for the Csv_Formatter class
        """
        Formatter.__init__(self)

        self.delimiter        = delimiter
        self.escapechar       = escapechar
        self.quotechar        = quotechar
        self.skipinitialspace = skipinitialspace
        self.lineterminator   = lineterminator
        self.doublequote      = doublequote
Beispiel #7
0
    def __init__(self,
                 delimiter="|",
                 escapechar="\\",
                 quotechar='"',
                 skipinitialspace=True,
                 lineterminator="\n",
                 doublequote=False):
        """
        Constructor for the Csv_Formatter class
        """
        Formatter.__init__(self)

        self.delimiter = delimiter
        self.escapechar = escapechar
        self.quotechar = quotechar
        self.skipinitialspace = skipinitialspace
        self.lineterminator = lineterminator
        self.doublequote = doublequote
Beispiel #8
0
    def __init__(self, pretty=True):
        """
        """
        Formatter.__init__(self)

        self.m_pretty = pretty
Beispiel #9
0
    def __init__(self, pretty = True ):
        """
        """
        Formatter.__init__(self)

        self.m_pretty = pretty