Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
8
def
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.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected