table.cmd table.stream_column
API Reference Manual  /  Python API  /  table  / 

table.exported_functions

Name

table.exported_functions

Synopsis

Python

import table.exported_functions

table.exported_functions.column_names

Alias of table.column_names.

table.exported_functions.get

Synopsis

table.exported_functions.get(properties, data, *table_args)

Description

Fetch the formatted table.

Similar to the table.show but this function returns the table as a multi-line string.

See Also

table.new_table_command, table.get

table.exported_functions.show

Synopsis

table.exported_functions.show(properties, data, *table_args)

Description

Format and print the table.

This function should be used from a command function registered through the table.new_table_command() function to print out the table according to the user arguments. The properties argument is a list of key/value pairs setting table properties for the table. The data argument contains the two-dimensional data to be printed where the inner list contains the columns and the outer list the rows of the table. See the table interface for more information.

The *table_args argument represents the standard table arguments, received last in the table.new_table_command() callback function.

See Also

table.new_table_command, table.get

table.cmd table.stream_column