Pilih acak file apa pun dari direktori python

import os, random
random.choice(os.listdir("C:\\")) #change dir name to whatever
Successful Salamander