Apologies if this has been asked, but I couldn't find it anywhere. How can I search my current directory and all its subdirectories to output a list of csv files?
glob.glob('*.csv') glob.glob('**/*.csv')
So the first outputs a list of all .csv files in the working directory and the second outputs a list of files in all of the subdirectories within the working directory. Is there a way to modify this so I can search the entire directory?
1.4m articles
1.4m replys
5 comments
57.0k users