I am an beginner to python and ubuntu. I am trying to run two python scripts at the same time in terminal,my command in the terminal is:
python one.py|python three.py
one.py prints a four variable array to the terminal
three.py reads the values from terminal and stores the values to another array.
I believe this process in ubuntu terminal is called pipelining.
The problem now I am facing is the python script
three.py waits until python script
one.py to complete its execution. I want it to happen in real time, whenever
one.py has an output,
three.py should read and store this value in realtime.
output of one.py