I am trying to run multiple functions at the same time. To save time modifying file by file, I converted the files into functions and imported them from another .py, but when I run it they execute in order, and they start when the previous one finishes
Is there a way to run them all at once from the same python (.py
) script/file?
from DosAAMismoDTotal import DosAAMismoDTotal
from DosABAnteriorDTotal import DosABAnteriorDTotal
from DosACSiguienteDTotal import DosACSiguienteDTotal
from DosBAMismoDP import DosBAMismoDP
from DosBBMismoDU import DosBBMismoDU
from DosBCAnteriorD import DosBCAnteriorD
from DosBDSiguienteD import DosBDSiguienteD
fisrt = 'xpath1'
second = 'xpath2'
one = 'xpath3'
two = 'xpath4'
three = 'xpath5'
functionone(fisrt, second, one)
functiontwo(fisrt, second, two)
functiononethree(fisrt, second, three)
functiononefour(fisrt, second, one)
functiononefive(fisrt, second, one)
functiononesix(fisrt, second, two)
functiononeseven(fisrt, second, three)