carputils
Doxygen code documentation for the python framework controlling openCARP
Classes | Namespaces | Functions
format.py File Reference

Classes

class  carputils.format.Cell
 
class  carputils.format.Table
 
class  carputils.format.Summary
 

Namespaces

 carputils.format
 

Functions

def carputils.format.terminal_width (fallback=70)
 Get the width of the terminal, in characters. More...
 
def carputils.format.hline (char='-', fallback=70)
 
def carputils.format.header (description, char='-', fallback=70)
 
def carputils.format.dot_pad (string, length)
 
def carputils.format.stringtable (strlist, ncolumns=4, padding=3, rowprefix='')
 
def carputils.format.linewrap (content, length)
 
def carputils.format.command_line (cmd, optionals=True, cols=None, prefix='')
 Nicely format a command line for output to terminal. More...