Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ generate_inputs
Function
generate_inputs
example_code/item_052.py:93–95 ·
view source on GitHub ↗
(data_dir)
Source
from the content-addressed store, hash-verified
91
import
os
92
93
def
generate_inputs(data_dir):
94
for
name in os.listdir(data_dir):
95
yield
PathInputData(os.path.join(data_dir, name))
96
97
98
print(
"Example 6"
)
Callers
1
mapreduce
Function · 0.85
Calls
1
PathInputData
Class · 0.85
Tested by
no test coverage detected