# You can use the glob method of a Path object: ``` p = Path('docs') for i in p.glob('**/*'): print(i.name) ```