from random import choice
image = choice(image_list)
Python: Select a random element from a list
![](https://resources.blogblog.com/img/icon18_edit_allbkg.gif)
Posted by
twig
at
2:23 PM
Thursday, February 11, 2010
Mainly notes to future-Twig (and for anyone else who may find them useful)
If you've found one or more of my blog posts helpful, why not say thanks by buying me a coffee or beer?