Given below is the control flow of my python code:
from BB import B
def A(param):
...
...
//This takes a while to complete execution
...
B()
print something
A(param) //Function call
The problem here is that the function B is called before A can complete its execution. A creates and write to a file, while B reads from it and performs some operation. B being called after the completion of A is pretty important.
I tried this, but it dint solve the issue.
from BB import B
def A(param):
...
...
//This takes a while to complete execution
...
print something
A(param) //Function call
B()