from pathlib import Path def walk(path): for p in Path(path).iterdir(): if p.is_dir(): yield from walk(p) continue yield p.resolve() ...
確定! 回上一頁