I wrote a simple app in Java that takes a list of paths and generates a file with all the file paths under that original list.
If I have paths.txt that has:
c:\folder1\
c:\folder2\
...
...
c:\folder1000\
My app runs the recursive function on each path multithreaded, and returns a file with all the file paths under these folders.
Now I want to write this app in Python.
I've written a simple app that uses os.walk() to run through a given folder and print the filepaths to output.
Now I want to run it in parallel, and I've seen that Python has some modules for this: multithreaded and multiprocessing.
What is the best what to do this? And within that way, how is it performed?