I have this list:
pics = [i for i in glob.glob("*.jpg")]
choice = random.choice(pics)
and the code below the list was used to select a random image from a list. My problem is that it isn't unique and lots of pictures repeat.. Is there any way to overcome that?