I have a task that sounds simple enough... but I don't code in Python; my background is in network design. So, here we go, I have to write a script that scans text files on a network share to parse for anything in the the text log that begins with "ERROR". Each error needs to be broken down by type, (cumulative) count, over a 24/hour history. It need not be node specific because all nodes will have all errors, but not necessarily at the same time, or same count. Again, I only want a cumulative count listed next to each error type. My programming experience is limited to "hello world" readouts. Im using Python 3.1 gui, but I can't seem to find the syntax that suits my needs. Any help would be appreciated.
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.