Answer:
You can use threading. Place both scripts in the same folder and write a third script.
Step-by-step explanation:
In this third script import the other two, lets call them capture and process and assume that they both have a main function.
9.5m questions
12.2m answers