I have a program which sends UDP messages. I can succesfully receive these using Python, but can only manage to get them to display on the screen. I need take each of these messages, do some processing, and add each one as it is received to a CSV File.
Ideally, I would like to have a script I already have written process each UDP message as it is received, however I cannot bridge the gap between receiving UDP message and doing anything with it other than displaying it on the screen.
The script I already have gets the same data from a CSV file that is also written by the program sending the UDP messages, however I would prefer the data be read as it arrives (and without reading the entire CSV file each time it runs).