I have 3 functions f1, f2, f3. I want to execute f1 and f2 in parallel and, once they are both completed, run f3. How could I achieve this?
from module1 import function1 as f1
from module2 import function2 as f2
from module3 import function3 as f3
if __name__ == '__main__':
f1()
f2()
f3()
multiprocessingmodule.