I am new to Python and threading. I have two threads t1 and t2. The thread t1 generates a file and t2 reads it. The problem is that my code tries to read the file before it gets generated. So, I want to start t2 after t1 finishes its job.
Can anyone give me a suggestion?