JohnV wrote: > I have a txt file that gets appended with data over a time event. The > data comes from an RFID reader and is dumped to the file by the RFID > software. I want to poll that file several times over the time period > of the event to capture the current data in the RFID reader. > > When I read the data I want to be able to compare the current data to > the date from the last time I read it and only process the data > appended since the last time it was read.
If you are on a posix system, you could maybe use the output of the 'since' commandline tool, or at least steal some ideas from it. <http://welz.org.za/projects/since> -- JanC -- http://mail.python.org/mailman/listinfo/python-list