Easier way to do this?

20/20 Lab lab at 2020fresno.com
Wed Oct 4 17:29:27 EDT 2017


On 10/04/2017 12:47 PM, breamoreboy at gmail.com wrote:
> On Wednesday, October 4, 2017 at 8:29:26 PM UTC+1, 20/20 Lab wrote:
>> <snip>
>>
>> Any help / advice is appreciated,
>>
>> Matt
> Use the csv module https://docs.python.org/3/library/csv.html to read the file with a Counter https://docs.python.org/3/library/collections.html#collections.Counter.  I'm sorry but I'm too knackered to try writing the code for you :-(
>
> --
> Kindest regards.
>
> Mark Lawrence.
This looks to be exactly what I want.  I'll get to reading.  Thank you 
very much.

Matt



More information about the Python-list mailing list