Added python log analysis code