1 from __future__
import print_function
2 from __future__
import absolute_import
5 write = sys.stdout.write
12 WarningCol=[
False]*len(Data)
13 for [line,Warn]
in zip(Data,WarningCol):
19 for entry
in ColWidths:
21 for i
in range(entry):
27 assert Warn
in [
True,
False]
29 assert len(line)==len(ColWidths)
36 for [width, entry]
in zip(ColWidths,line):
41 print(
"\n\n\n Weird Data .. Bailing out\n\n")
43 for i
in range(width):
OutputIterator zip(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, Compare comp)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
def PrintLine(line, ColWidths, Warn, border)
def PrettyPrintTable(Headers, Data, ColWidths, WarningCol=[], border=' *')
def PrintHLine(ColWidths, border)