List Files Fold Python

[Solved] List Files Fold Python | Perl - Code Explorer | yomemimo.com
Question : list files in fold python

Answered by : gabriel-juri

# Needed packages
import glob
# Print files names in folder
print(glob.glob("/fold_name/*"))
# Print .csv files
print(glob.glob("/fold_name/*.csv")) 

Source : https://stackoverflow.com/questions/3207219/how-do-i-list-all-files-of-a-directory | Last Update : Tue, 20 Sep 22

Answers related to list files fold python

Code Explorer Popular Question For Perl