Sequencing images using tkinter?

theteacher.info at gmail.com theteacher.info at gmail.com
Sat Aug 30 16:37:09 EDT 2014


How do you exit from this function?

def next_image(): 
    myLabel.config(image=random.choice(monster_images)) 
    # tell tkinter to invoke next_image() again after 200 miliseconds 
    root.after(200, next_image)



More information about the Python-list mailing list