Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bslatkin/effectivepython
/ run_hash
Function
run_hash
example_code/item_067.py:139–144 ·
view source on GitHub ↗
(input_stdin)
Source
from the content-addressed store, hash-verified
137
138
print(
"Example 8"
)
139
def
run_hash(input_stdin):
140
return
subprocess.Popen(
141
[
"openssl"
,
"dgst"
,
"-sha256"
,
"-binary"
],
142
stdin=input_stdin,
143
stdout=subprocess.PIPE,
144
)
145
146
147
print(
"Example 9"
)
Callers
1
item_067.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected