title: How to create a table and enter result recursively for multiple files
body: <p>I have a many <code>.txt</code> file in a folder1 inside folder2 inside folder3. All folders have many subfolders but the main thing is there are 3 folder hierarchy and then <code>txt</code> files in last subfolder. Now I do have python code to run on txt files and get a result which is either one or two outputs for each file. I want to create a table/dataframe/csv file where for a row in the table has columns 'folder1', 'folder2', 'folder3'. name of .txt file and the results from the python code all in the same row.</p>