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