[Tutor] Can't reinstall pip for Python 3.7.3

2019-05-08 Thread Zelphy
Dear tutor members, After spending a lot of time on forums trying to fix this problem, I come here hoping for a solution to my problem. In fact, after upgrading my version of Python ( I was on 3.6.5 and then on 3.7.3 ) I wanted to reinstall pip ( mainly in order to download Pygame ) But, after dow

Re: [Tutor] Can't reinstall pip for Python 3.7.3

2019-05-08 Thread Mats Wichmann
On 5/8/19 5:36 AM, Zelphy wrote: > Dear tutor members, > > After spending a lot of time on forums trying to fix this problem, I come > here hoping for a solution to my problem. > In fact, after upgrading my version of Python ( I was on 3.6.5 and then on > 3.7.3 ) I wanted to reinstall pip ( mainly

[Tutor] Collating date data from a csv file

2019-05-08 Thread Dave Hill
I have a csv file which details the results of equipment tests, I carry out PAT testing as a volunteer at a heriatge railway in N. Wales. I want to extract how many items were tested on each test day. So far I have generated a List of test dates, but I am now stalled at how to efficiently count

Re: [Tutor] Collating date data from a csv file

2019-05-08 Thread Cameron Simpson
On 08May2019 21:04, Dave Hill wrote: I have a csv file which details the results of equipment tests, I carry out PAT testing as a volunteer at a heriatge railway in N. Wales. I want to extract how many items were tested on each test day. So far I have generated a List of test dates, but I am n

Re: [Tutor] Collating date data from a csv file

2019-05-08 Thread boB Stepp
On Wed, May 8, 2019 at 10:09 PM Cameron Simpson wrote: > > A defaultdict is a dict which magicly makes missing elements when they > get access, using a factory function you supply. Here we're using "int" > as that factory, as int() returns zero. Is int() guaranteed to always return zero as Python

Re: [Tutor] Collating date data from a csv file

2019-05-08 Thread boB Stepp
On Wed, May 8, 2019 at 10:29 PM boB Stepp wrote: > > On Wed, May 8, 2019 at 10:09 PM Cameron Simpson wrote: > > > > A defaultdict is a dict which magicly makes missing elements when they > > get access, using a factory function you supply. Here we're using "int" > > as that factory, as int() retu