-1

I am trying to get all the arxml file in the subfolders but it is only showing the files in the respective path I gave.

path = r"D:\git\Master"
arxml_files = glob.glob(os.path.join(path, "**", "*.arxml"))

But the arxml_files only contains the files of the path and it might have subfolders which i want to collect as well.

Rafael Ferreira
  • 329
  • 2
  • 16

1 Answers1

0

Duplicate to How to use glob() to find files recursively?

See How to use glob() to find files recursively?

WombatPM
  • 2,561
  • 2
  • 22
  • 22