In the notebook there is a part of code that downloads the images of three types of bears, but in the code I don’t understand why do we put path/o in brackets?
Here is the code:
if not path.exists():
path.mkdir()
for o in bear_types:
dest = (path/o) #This one
dest.mkdir(exist_ok=True)
results = search_images_bing(key, f'{o} bear')
download_images(dest, urls=results.attrgot('contentUrl'))