Apr-20-2020, 02:09 PM
(This post was last modified: Apr-20-2020, 02:09 PM by deanhystad.)
Your program is reading from and writing to the same file. It should be reading from and writing to a pipe.
https://docs.python.org/3/library/pipes.html
https://docs.python.org/3/library/pipes.html