ble.
Have to head out as this is already long enough.
-Original Message-
From: 'DL Neil'
Sent: Monday, November 27, 2023 2:49 AM
To: avi.e.gr...@gmail.com; python-list@python.org
Subject: Re: Newline (NuBe Question)
Avi,
On 11/27/2023 4:15 PM, avi.e.gr...@gmail.com wrote:
&g
Avi,
On 11/27/2023 4:15 PM, avi.e.gr...@gmail.com wrote:
Dave,
Back on a hopefully more serious note, I want to make a bit of an analogy
with what happens when you save data in a format like a .CSV file.
Often you have a choice of including a header line giving names to the
resulting columns,
L Neil via Python-list
Sent: Sunday, November 26, 2023 5:19 PM
To: python-list@python.org
Subject: Re: Newline (NuBe Question)
On 11/27/2023 10:04 AM, Peter J. Holzer via Python-list wrote:
> On 2023-11-25 08:32:24 -0600, Michael F. Stemper via Python-list wrote:
>> On 24/11/2023 21.45, av
On Mon, 27 Nov 2023 at 13:52, AVI GROSS via Python-list
wrote:
> Be that as it
> may, and I have no interest in this topic, in the future I may use the ever
> popular names of Primus, Secundus and Tertius and get blamed for using
> Latin.
>
Imperious Prima flashes forth her edict to "begin it".
y, November 26, 2023 4:58 PM
To: python-list@python.org
Subject: Re: Newline (NuBe Question)
On 11/27/2023 12:48 AM, Chris Angelico via Python-list wrote:
> On Sun, 26 Nov 2023 at 21:08, Michael F. Stemper via Python-list
> wrote:
>>
>> On 24/11/2023 21.45, avi.e.gr...@gmail.com
On 11/27/2023 10:04 AM, Peter J. Holzer via Python-list wrote:
On 2023-11-25 08:32:24 -0600, Michael F. Stemper via Python-list wrote:
On 24/11/2023 21.45, avi.e.gr...@gmail.com wrote:
Of course, for serious work, some might suggest avoiding constructs like a
list of lists and switch to using m
On 11/27/2023 1:08 AM, Roel Schroeven via Python-list wrote:
I prefer namedtuples or dataclasses over tuples. They allow you to refer
to their fields by name instead of index: student.gpa is much clearer
than student[2], and makes it less likely to accidentally refer to the
wrong field.
+1
re
On Mon, 27 Nov 2023 at 06:15, wrote:
> But I learn from criticism. If I ever write a program like that and do not
> feel like typing, will this do?
>
> dents = [ ...]
>
> Or will that not include students who happen to be edentulous?
>
If they're learning to drive, this variable name would make c
On 11/27/2023 12:48 AM, Chris Angelico via Python-list wrote:
On Sun, 26 Nov 2023 at 21:08, Michael F. Stemper via Python-list
wrote:
On 24/11/2023 21.45, avi.e.gr...@gmail.com wrote:
Grizz[l]y,
I think the point is not about a sorted list or sorting in general It is
about reasons why mainta
On 2023-11-25 08:32:24 -0600, Michael F. Stemper via Python-list wrote:
> On 24/11/2023 21.45, avi.e.gr...@gmail.com wrote:
> > Of course, for serious work, some might suggest avoiding constructs like a
> > list of lists and switch to using modules and data structures [...]
>
> Those who would rec
al Message-
From: Python-list On
Behalf Of Chris Angelico via Python-list
Sent: Sunday, November 26, 2023 6:49 AM
To: python-list@python.org
Subject: Re: RE: Newline (NuBe Question)
On Sun, 26 Nov 2023 at 21:08, Michael F. Stemper via Python-list
wrote:
>
> On 24/11/2023 21.45, avi.e.gr...
, it makes
sense to use the expanded language if it results in faster writing perhaps
of faster code with fewer mistakes.
-Original Message-
From: Python-list On
Behalf Of Michael F. Stemper via Python-list
Sent: Saturday, November 25, 2023 9:32 AM
To: python-list@python.org
Subject: Re: R
Michael F. Stemper via Python-list schreef op 25/11/2023 om 15:32:
On 24/11/2023 21.45,avi.e.gr...@gmail.com wrote:
> Grizz[l]y,
>
> I think the point is not about a sorted list or sorting in general It is
> about reasons why maintaining a data structure such as a list in a program
> can be us
On Sun, 26 Nov 2023 at 21:08, Michael F. Stemper via Python-list
wrote:
>
> On 24/11/2023 21.45, avi.e.gr...@gmail.com wrote:
> > Grizz[l]y,
> >
> > I think the point is not about a sorted list or sorting in general It is
> > about reasons why maintaining a data structure such as a list in a progr
On 24/11/2023 21.45, avi.e.gr...@gmail.com wrote:
Grizz[l]y,
I think the point is not about a sorted list or sorting in general It is
about reasons why maintaining a data structure such as a list in a program
can be useful beyond printing things once. There are many possible examples
such as hav
ta structure facilitates ...
-Original Message-
From: Python-list On
Behalf Of Grizzy Adams via Python-list
Sent: Thursday, November 16, 2023 8:41 AM
To: python-list@python.org
Subject: Re: Newline (NuBe Question)
Thursday, November 16, 2023 at 7:47, Thomas Passin via Python-list wr
Thursday, November 16, 2023 at 7:47, Thomas Passin via Python-list wrote:
Re: Newline (NuBe Question) (at least in part)
>I wrote that you don't need the "students" list, which is correct. But
>there could be a use for a list. It would let you change the order in
>
On 11/16/2023 1:19 AM, Grizzy Adams via Python-list wrote:
Wednesday, November 15, 2023 at 15:54, Thomas Passin via Python-list wrote:
Re: Newline (NuBe Question) (at least in part)
On 11/15/2023 2:04 PM, Grizzy Adams via Python-list wrote:
Wednesday, November 15, 2023 at 12:19, Pierre
Wednesday, November 15, 2023 at 15:54, Thomas Passin via Python-list wrote:
Re: Newline (NuBe Question) (at least in part)
>On 11/15/2023 2:04 PM, Grizzy Adams via Python-list wrote:
>> Wednesday, November 15, 2023 at 12:19, Pierre Fortin wrote:
>> Re: Newline (NuBe Question) (a
On 11/15/2023 2:04 PM, Grizzy Adams via Python-list wrote:
Wednesday, November 15, 2023 at 12:19, Pierre Fortin wrote:
Re: Newline (NuBe Question) (at least in part)
On Wed, 15 Nov 2023 16:51:09 - Grizzy Adams via Python-list wrote:
I don't give solutions; just a nudge... you appea
Wednesday, November 15, 2023 at 12:19, Pierre Fortin wrote:
Re: Newline (NuBe Question) (at least in part)
>On Wed, 15 Nov 2023 16:51:09 - Grizzy Adams via Python-list wrote:
>
>I don't give solutions; just a nudge... you appear not to fully grok
>"list"; yo
On Wed, 15 Nov 2023 16:51:09 - Grizzy Adams via Python-list wrote:
I don't give solutions; just a nudge... you appear not to fully grok
"list"; your list is ONE list with no delineation between students. You
want a "list of lists"...
>['Example High', 'Mary', 89.6, 'Pass', 'Example High', 'M
Wednesday, November 15, 2023 at 9:45, Thomas Passin via Python-list wrote:
Re: Newline (NuBe Question) (at least in part)
>On 11/15/2023 2:25 AM, Grizzy Adams via Python-list wrote:
>> Hi & thanks for patience with what could be simple to you
>You may see responses that sugg
On 11/15/2023 2:25 AM, Grizzy Adams via Python-list wrote:
Hi & thanks for patience with what could be simple to you
Have this (from an online "classes" tutorial)
--- Start Code Snippit ---
students = []
grades = []
for s in geographyClass:
students.append(geographyStudent(s))
for s i
Wednesday, November 15, 2023 at 9:50, Alan Gauld via Python-list wrote:
Re: Newline (NuBe Question) (at least in part)
>On 15/11/2023 07:25, Grizzy Adams via Python-list wrote:
>> for s in students:
>> grades.append(s.school)
>>
On 15Nov2023 07:25, Grizzy Adams wrote:
Have this (from an online "classes" tutorial)
Response inline below.
students = []
grades = []
for s in geographyClass:
students.append(geographyStudent(s))
for s in students:
grades.append(s.school)
grades.append(
On 15/11/2023 07:25, Grizzy Adams via Python-list wrote:
> for s in students:
> grades.append(s.school)
> grades.append(s.name)
> grades.append(s.finalGrade())
> if s.finalGrade()>82:
> grades.append("Pass")
>
On 15/11/2023 20.25, Grizzy Adams via Python-list wrote:
Hi & thanks for patience with what could be simple to you
Have this (from an online "classes" tutorial)
There are lots of on-line classes!
--- Start Code Snippit ---
students = []
grades = []
for s in geographyClass:
student
28 matches
Mail list logo