Can we use standard multiprocessing.Queue class for communicating between independent Python3 scripts like
bash% ./aaa.py &
bash% ./bbb.py &
If no, Is there another library like standard multiprocessing module for communicating with independent scripts.
Take a look at the section on "Listeners and Clients" in the multiprocessing
docs; unlike the higher level simpler APIs, these APIs allow you to establish connections by address and authenticate the paired process, which allows two Python scripts to cooperate without having a parent/child relationship.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With