arte/utils/tabular_report.py
def print_header(self):
        '''Unconditionally print a line with the header.'''

        cols = self.values.keys()
        if self.add_iter:
            cols = ['iteration'] + list(cols)

        fmt = '%%-%ds ' % self.column_width
        hdr = ''.join([fmt % col for col in cols])

        print()
        print(hdr)
        print('-' * len(hdr))
Unconditionally print a line with the header.
Unconditionally print a line with the header.
Unconditionally print a line with the header .
def print_header(self):
        cols = self.values.keys()
        if self.add_iter:
            cols = ['iteration'] + list(cols)
        fmt = '%%-%ds ' % self.column_width
        hdr = ''.join([fmt % col for col in cols])
        print()
        print(hdr)
        print('-' * len(hdr))
def print_header ( self ) : cols = self . values . keys ( ) if self . add_iter : cols = [ 'iteration' ] + list ( cols ) fmt = '%%-%ds ' % self . column_width hdr = '' . join ( [ fmt % col for col in cols ] ) print ( ) print ( hdr ) print ( '-' * len ( hdr ) )
Unconditionally print a line with the header.
Unconditionally print a line with the header .
'''Unconditionally print a line with the header.'''
self