glob all files in all subdirectories code example Example: python glob subdirectories import glob subdirectories = glob.glob("./*/")