Answers for "find linux random files in directory"

1

choose random file from directory

import os, random
random.choice(os.listdir("C:\\")) #change dir name to whatever
Posted by: Guest on January-14-2021

Code answers related to "find linux random files in directory"

Python Answers by Framework

Browse Popular Code Answers by Language