kerncraft/kernel.py
def print_constants_info(self, output_file=sys.stdout):
        """Print constants information in human readble format."""
        table = ('    name | value     \n' +
                 '---------+-----------\n')
        for name, value in list(self.constants.items()):
            table += '{!s:>8} | {:<10}\n'.format(name, value)
        print(prefix_indent('constants: ', table), file=output_file)
def print_constants_info(self, output_file=sys.stdout):
        table = ('    name | value     \n' +
                 '---------+-----------\n')
        for name, value in list(self.constants.items()):
            table += '{!s:>8} | {:<10}\n'.format(name, value)
        print(prefix_indent('constants: ', table), file=output_file)
def print_constants_info ( self , output_file = sys . stdout ) : table = ( '    name | value     \n' + '---------+-----------\n' ) for name , value in list ( self . constants . items ( ) ) : table += '{!s:>8} | {:<10}\n' . format ( name , value ) print ( prefix_indent ( 'constants: ' , table ) , file = output_file )
Print constants information in human readble format.
Print constants information in human readble format .