Re: [Tutor] Is len(a_list) a computed value or a stored attribute of a_list?

2017-12-31 Thread Steven D'Aprano
On Sun, Dec 31, 2017 at 08:53:49PM -0600, boB Stepp wrote: > I was wondering if len(a_list) is computed on the fly or is it a > stored attribute of the a_list object? And is the answer the same for > both Python 2 and 3? Technically the Python language doesn't make any guarantees about this, but

[Tutor] Is len(a_list) a computed value or a stored attribute of a_list?

2017-12-31 Thread boB Stepp
I was wondering if len(a_list) is computed on the fly or is it a stored attribute of the a_list object? And is the answer the same for both Python 2 and 3? -- boB ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: ht

Re: [Tutor] Fw: IDLE

2017-12-31 Thread Alan Gauld via Tutor
On 30/12/17 15:53, nelson jon kane wrote: > Thanks. What do you mean when you say "find a written tutorial"? One that is written as opposed to a video. In other words a web site or book. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_

[Tutor] Finding written and video tutorials for Python [Was: IDLE]

2017-12-31 Thread boB Stepp
I am renaming this thread as it has drifted off its original subject. On Sat, Dec 30, 2017 at 9:53 AM, nelson jon kane wrote: > Thanks. What do you mean when you say "find a written tutorial"? > > > > From: Tutor on behalf of > Leam Hall > Sent: Saturday, Decem

[Tutor] Fw: IDLE

2017-12-31 Thread nelson jon kane
Thanks. What do you mean when you say "find a written tutorial"? From: Tutor on behalf of Leam Hall Sent: Saturday, December 30, 2017 6:39 AM To: tutor@python.org Subject: Re: [Tutor] IDLE On 12/30/2017 04:07 AM, Alan Gauld via Tutor wrote: > Videos are good