Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ recipe-142812.py
File
recipe-142812.py
recipes/Python/142812_Hex_dumper/recipe-142812.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
FILTER=
''
.join([(len(repr(chr(x)))==3) and chr(x) or
'.'
for
x in range(256)])
2
3
def
dump(src, length=8):
4
N=0; result=
''
Callers
nothing calls this directly
Calls
3
range
Function · 0.85
dump
Function · 0.70
join
Method · 0.45
Tested by
no test coverage detected