MCPcopy Create free account
hub / github.com/Mrinank-Bhowmick/python-beginner-projects / ls

Function ls

projects/Merge PDFs/main.py:8–10  ·  view source on GitHub ↗
(contents)

Source from the content-addressed store, hash-verified

6
7# helper function to list PDF files in a directory
8def ls(contents):
9 for index, pdf in enumerate(contents):
10 print(index, ": ", pdf)
11
12
13# modify PDF list based on type (exclude/include)

Callers 1

main.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected