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