Dec-07-2019, 04:30 PM
You can use threading. Place both scripts in the same folder and write a third script.
In this third script import the other two, lets call them capture and process and assume that they both have a main function.
If they don't have a main function or you have problems making this work, consider posting your code.
In this third script import the other two, lets call them capture and process and assume that they both have a main function.
If they don't have a main function or you have problems making this work, consider posting your code.
from threading import Thread import capture import process capturer = Thread(target=capture.main, daemon=True) capturer.start() processor = Thread(target=process.main, daemon=True) processor.start()This will start both scripts as individual processes. The will run even if you close the console that launched them.