Down and dirty way to determine average latency using Python, text files, and a batch file | Playing with Python