Answers for "how to get list of all files in a folder using python"

7

list files in directory python

import os
print(os.listdir('/path/to/folder/to/list'))
Posted by: Guest on April-22-2020

Code answers related to "how to get list of all files in a folder using python"

Python Answers by Framework

Browse Popular Code Answers by Language