I want to print the file path for the files and not directories located in nested folders using pandas. The path where the folder is located changes. The code should read the dynamic file path and print the path where the csv files are stored.
Asked
Active
Viewed 260 times
1 Answers
0
You can use the os library with the method walk.
You have few examples here:

Kertoya
- 16
-
Please don't post links to duplicates as answers. Once you have enough reputation, you will be able to vote to close as duplicate, or leave a comment. – tripleee Mar 14 '22 at 07:46