Answers for "how do i list all directory of multiple files python"

2

get all files within multiple directories python

from pathlib import Path
for f in Path().cwd().glob("../*.ext"):
    print(f)
    # do other stuff
Posted by: Guest on April-10-2020

Code answers related to "how do i list all directory of multiple files python"

Python Answers by Framework

Browse Popular Code Answers by Language