I need to display all png files in directory 'images'. The problem is there is subdirectory 'additional files' with one more png in it.
import glob
my_path = "images"
possible_files = os.path.join(my_path, "*.png")
for file in glob.glob(possible_files):
print(file)
How can i display full path to all png files in this directory including png files in subdirectories without new loop?