I have implemented os.walk a ton of times until now, and it worked super fine.
But now, I need to implement os.walk on a folder, whose contents keeps on changing/updating every 10 secs (by another program). And, when I do os.walk on this folder, the program gets stuck there forever.