defdisplay_artist_image(artist):print("Inside of display_artist_image")#import pdb; pdb.set_trace()iflen(artist['images'])<1:returndisplay_image(artist['images'][0]['url'])
print("About to loop through some artists")forartistinunpopular_artists:print("Looking at an artist named",artist['name'])display_artist_image(artist)print("Done looping through artists")
About to loop through some artists
Looking at an artist named Lil Chuuuch
Inside of display_artist_image
Looking at an artist named Lil Chewy
Inside of display_artist_image
Looking at an artist named Lil Kees
Inside of display_artist_image
Looking at an artist named Lil Chaz
Inside of display_artist_image
Looking at an artist named Lil Ruc
Inside of display_artist_image
Looking at an artist named Lil Base
Inside of display_artist_image
Looking at an artist named Lil David
Inside of display_artist_image
Looking at an artist named Lil Nitty
Inside of display_artist_image
Looking at an artist named Lil Kmac
Inside of display_artist_image
Looking at an artist named Lil Woody
Inside of display_artist_image
Looking at an artist named Lil Tyreke
Inside of display_artist_image
Looking at an artist named Lil Muggsy
Inside of display_artist_image
Looking at an artist named Lil Mbone
Inside of display_artist_image
Looking at an artist named Lil Nardy
Inside of display_artist_image
Looking at an artist named Lil Tahj
Inside of display_artist_image
Looking at an artist named Lil Chan
Inside of display_artist_image
Looking at an artist named Lil Cone
Inside of display_artist_image
Looking at an artist named Lil Dramma
Inside of display_artist_image
Looking at an artist named Lil Scott
Inside of display_artist_image
Looking at an artist named Lil Ree
Inside of display_artist_image
Done looping through artists
# type any variable to see what its value is# dir() - shows variables# continue - continues on# quit - shuts down whatever is going on, stops everything
Want to hear when I release new things? My infrequent and sporadic newsletter can help with that.