python recursive file search code example Example: python glob subdirectories import glob subdirectories = glob.glob("./*/")