1 from __future__
import print_function
4 write = sys.stdout.write
11 WarningCol=[
False]*len(Data)
12 for [line,Warn]
in zip(Data,WarningCol):
18 for entry
in ColWidths:
20 for i
in range(entry):
26 assert Warn
in [
True,
False]
28 assert len(line)==len(ColWidths)
35 for [width, entry]
in zip(ColWidths,line):
40 print(
"\n\n\n Weird Data .. Bailing out\n\n")
42 for i
in range(width):
S & print(S &os, JobReport::InputFile const &f)
OutputIterator zip(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, Compare comp)
def PrintLine(line, ColWidths, Warn, border)
def PrettyPrintTable(Headers, Data, ColWidths, WarningCol=[], border='*')
def PrintHLine(ColWidths, border)