Mar-14-2018, 08:45 AM
Hello,
I am trying to have two python scripts running where one pauses the other. Both scripts do some socket communication (one reads and one writes)
read.py runs continously in the background with a 60 second sleep after each run.
write.py will be run by user interaction/click on a webpage.
These two cannot run at the same time (comm errors). So write.py will need to pause read.py, run, then reactivate write.py.
I am probably looking into this the wrong way. But how would write.py fetch the process of read.py?
Thanks in advance for any tips,
Per
I am trying to have two python scripts running where one pauses the other. Both scripts do some socket communication (one reads and one writes)
read.py runs continously in the background with a 60 second sleep after each run.
write.py will be run by user interaction/click on a webpage.
These two cannot run at the same time (comm errors). So write.py will need to pause read.py, run, then reactivate write.py.
I am probably looking into this the wrong way. But how would write.py fetch the process of read.py?
Thanks in advance for any tips,
Per