02.10.21 15:44, Paul Moore пише:
> The counter-argument is "there should be one obvious way" - we
> definitely don't only have *one* way, at the moment, but none of them
> are "obvious". My big problem is that I don't think that making Path
> instances iterable is "obvious", either. What if the pat
On Sat, 2 Oct 2021 at 13:22, Aaron Stacy wrote:
>
> I’d like to propose an enhancement to the wonderful pathlib module: make Path
> instances iterable, where the iterator returns subpaths.
>
> This would be functionally very similar to Path(some_directory).rglob(‘*’).
... which is of course the