MCPcopy Create free account
hub / github.com/ActiveState/code / table

Function table

recipes/Python/578490_sql_the_SQLPlus_killer/recipe-578490.py:141–148  ·  view source on GitHub ↗
(righe)

Source from the content-addressed store, hash-verified

139 sql=sql+j
140
141def table(righe):
142 d={}
143 if righe:
144 for j in range(len(righe)):
145 w=righe[j]
146 for r in range(len(righe[j])):
147 d[r] = max((d.get(r) or 0), len(str(w[r])))
148 return d
149
150def settings():
151 for k,v in config.items():

Callers 3

recipe-576841.pyFile · 0.85
show_qryFunction · 0.85

Calls 4

rangeFunction · 0.85
strFunction · 0.85
maxFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected