Question: What is the simplest way to get the full recursive list of files inside a folder with python? I know about `os.walk()`, but it seems overkill for just getting the unfiltered list of all files. Is it really the only option?

Answer: 
[`pathlib.Path.rglob`](https://docs.python.org/3/library/pathlib.html#pathlib.Path.rglob) is pretty simple. It lists the entire directory tree

(The argument is a filepath search pattern. `"*"` means list everything)

```
import pathlib

for path in pathlib.Path("directory_to_list/").rglob("*"):
    print(path)

```
```
import os
path = "path/to/your/dir"
for (path, dirs, files) in os.walk(path):
    print files

```

Is this overkill, or am I missing something?