How can I find all files in directory with the extension .csv in python?
I had to get csv files that were in subdirectories, therefore, using the response from tchlpr I modified it to work best for my use case:
csv
import os import glob os.chdir( '/path/to/main/dir' ) result = glob.glob( '*/**.csv' ) print( result )