Python: Count lines and differentiate between them
- by Mister X
I'm using an application that gives a timed output based on how many times something is done in a minute, and I wish to manually take the output (copy paste) and have my program, and I wish to count how many times each minute it is done.
An example output is this:
13:48 An event happened.
13:48 Another event happened.
13:49 A new event…