Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ recipe-267662.py
File
recipe-267662.py
recipes/Python/267662_Table_indentation/recipe-267662.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
cStringIO,operator
2
3
def
indent(rows, hasHeader=False, headerChar=
'-'
, delim=
' | '
, justify=
'left'
,
4
separateRows=False, prefix=
''
, postfix=
''
, wrapfunc=
lambda
x:x):
Callers
nothing calls this directly
Calls
4
indent
Function · 0.70
wrapper
Function · 0.50
split
Method · 0.45
strip
Method · 0.45
Tested by
no test coverage detected