random_from_list.py iterator

Sometimes, being a bit random is necessary. I built an iterator in Python which takes a list as it’s sole argument and returns a random element each time. The iterator stops after all elements has been picked once.

You can find the project and usage guide here on GitHub: random_from_list.py

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.