MCPcopy
hub / github.com/cosmicpython/book / all_chapter_names

Function all_chapter_names

render-diagrams.py:12–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11
12def all_chapter_names():
13 for fn in sorted(Path(__file__).absolute().parent.glob('*.html')):
14 chapter_name = fn.name.replace('.html', '')
15 if chapter_name == 'book':
16 continue
17 yield chapter_name
18
19def main(paths):
20 print(paths)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected