Answers for "pathlib recursive search"

1

pathlib recursive search

# You can use the glob method of a Path object:
```
p = Path('docs')
for i in p.glob('**/*'):
     print(i.name)
```
Posted by: Guest on April-02-2021

Code answers related to "pathlib recursive search"

Browse Popular Code Answers by Language