Re: [Tutor] Counting and grouping dictionary values in Python 2.7

2016-07-14 Thread Michael Selik
On Fri, Jul 8, 2016 at 10:15 AM Bruce Dykes wrote: > I'm compiling application logs from a bunch of servers, reading the log > entries, parsing each log entry into a dictionary, and compiling all the > log entries into a single list of dictionaries. > Seems reasonable. Perhaps instead of having

Re: [Tutor] Counting and grouping dictionary values in Python 2.7

2016-07-13 Thread Bruce Dykes
On Fri, Jul 8, 2016 at 1:33 PM, Alan Gauld via Tutor wrote: > On 08/07/16 14:22, Bruce Dykes wrote: > > > with it is writing the list of dictionaries to a .csv file, and to date, > > we've been able to get by doing some basic analysis by simply using grep > > and wc, but I need to do more with it

Re: [Tutor] Counting and grouping dictionary values in Python 2.7

2016-07-08 Thread Alan Gauld via Tutor
On 08/07/16 14:22, Bruce Dykes wrote: > with it is writing the list of dictionaries to a .csv file, and to date, > we've been able to get by doing some basic analysis by simply using grep > and wc, but I need to do more with it now. I'm a big fan of using the right tool for the job. If you got yo

[Tutor] Counting and grouping dictionary values in Python 2.7

2016-07-08 Thread Bruce Dykes
I'm compiling application logs from a bunch of servers, reading the log entries, parsing each log entry into a dictionary, and compiling all the log entries into a single list of dictionaries. At present, all I'm doing with it is writing the list of dictionaries to a .csv file, and to date, we've b