Dec-14-2018, 02:58 AM
- Are the 'lines' worthy of individual files, or are they just lines?
- is there a sequence that has to be followed as to which line goes first?
If 2 is true, you will need to create a FIFO (First in First Out) buffer you might want to look at: https://pypi.org/project/thread6/
there are other packages available, see: https://pypi.org/search/?q=FIFO+thread+buffer