wenn ich sowas:
Code: Alles auswählen
d = (
[1,["hallo1",0],["Hello1",0],["/picpath/pic1.jpg",0]],
[2,["hallo2",0],["Hello2",0],["/picpath/pic2.jpg",0]],
[3,["hallo3",0],["Hello3",0],["/picpath/pic3.jpg",0]],
[4,["hallo4",0],["Hello4",0],["/picpath/pic4.jpg",0]],
[5,["hallo5",0],["Hello5",0],["/picpath/pic5.jpg",0]]
)
Code: Alles auswählen
import random
random.shuffle(d)
Danke und Grüße
alpha