get all files within multiple directories python code example
Example: get all files within multiple directories python
from pathlib import Path
for f in Path().cwd().glob("../*.ext"):
print(f)
# do other stuff
from pathlib import Path
for f in Path().cwd().glob("../*.ext"):
print(f)
# do other stuff