Real time graphs from any log file using regular expressions, in Python