I want to have two threads with a queue exchanging data (in the form of lists) between the two threads. However, at the moment I cannot fathom out how to write the code simply for taking the first list from the queue, processing it(which I have written the function for) and putting the returned data into a different queue. Can anyone give me any hints please?
I don't really understand the thread and queue modules in python, so am a bit stuck.