hdtv.tabformat

Functions

get_term_width()

tabformat(cells, **kwargs)

Prints a number of cells in a layout similar to that used

Module Contents

hdtv.tabformat.get_term_width()
hdtv.tabformat.tabformat(cells, **kwargs)

Prints a number of cells in a layout similar to that used by the ``ls’’ program. Expects a list of cell contents. Optional keyword arguments are colsepwidth, the spacing between two columns (defaults to 2), and tabwidth, the requested width of the table (defaults to width of terminal, or 80 if that cannot be read).