os choose random file from directory python code example
Example: random pick any file from directory python
import os, random
random.choice(os.listdir("C:\\")) #change dir name to whatever
import os, random
random.choice(os.listdir("C:\\")) #change dir name to whatever