Re: Writing output of function to a csv file

2020-05-25 Thread Ciarán Hudson
Thanks, between this message and the one below I was able to understand my error and fix it. I really appreciate the help. -- https://mail.python.org/mailman/listinfo/python-list

Re: Writing output of function to a csv file

2020-05-25 Thread Manfred Lotz
On Mon, 25 May 2020 19:25:08 +0100 MRAB wrote: > On 2020-05-25 19:00, Ciarán Hudson wrote: > > Hi, > > > > In the code below, which is an exercise I'm doing in class > > inheritance, almost everything is working except outputting my > > results, which as the function stock_count, to a csv. stock

Re: Writing output of function to a csv file

2020-05-25 Thread Irv Kalb
> On May 25, 2020, at 11:25 AM, MRAB > wrote: > > On 2020-05-25 19:00, Ciarán Hudson wrote: >> Hi, >> In the code below, which is an exercise I'm doing in class inheritance, >> almost everything is working except outputting my results, which as the >> functio

Re: Writing output of function to a csv file

2020-05-25 Thread MRAB
On 2020-05-25 19:00, Ciarán Hudson wrote: Hi, In the code below, which is an exercise I'm doing in class inheritance, almost everything is working except outputting my results, which as the function stock_count, to a csv. stock_count is working in the code. And I'm able to open and close the c

Writing output of function to a csv file

2020-05-25 Thread Ciarán Hudson
Hi, In the code below, which is an exercise I'm doing in class inheritance, almost everything is working except outputting my results, which as the function stock_count, to a csv. stock_count is working in the code. And I'm able to open and close the csv called cars, but the stock_count output