Re: [Tutor] Help understanding classes

2014-11-15 Thread Steven D'Aprano
On Sat, Nov 15, 2014 at 06:19:56PM +, Bo Morris wrote: > Thank you Alan and Danny. It amazes me at the lengths you guys, as well as > everyone else who contributes, will go to to help explain things to us; it > is greatly appreciated! > > Alan, I decided to dumb down the learning classes ju

Re: [Tutor] Help understanding classes

2014-11-15 Thread Alan Gauld
On 15/11/14 18:19, Bo Morris wrote: With the first part… class Message: def __init__(self, aString): self.text = aString Will I always use “_init_” when defining the first function in a class? It can go anywhere in the class definition. it is just another method of the class. Bu

Re: [Tutor] Help understanding classes

2014-11-15 Thread Bo Morris
Thank you Alan and Danny. It amazes me at the lengths you guys, as well as everyone else who contributes, will go to to help explain things to us; it is greatly appreciated! Alan, I decided to dumb down the learning classes just a little. By this I mean, I am not using Tkinter to learn classes

Re: [Tutor] Help understanding classes

2014-11-14 Thread Danny Yoo
On Fri, Nov 14, 2014 at 4:29 PM, Bo wrote: > Hello everyone, hope all is well. Was just wondering if I could get some > help understanding classes and how they work. What is the point in OOP if I > don’t understand classes, are classes not the heart and soul of OOP? I have > been trying to learn c

Re: [Tutor] Help understanding classes

2014-11-14 Thread Alan Gauld
On 15/11/14 00:29, Bo wrote: help understanding classes and how they work. What is the point in OOP if I don’t understand classes, are classes not the heart and soul of OOP? Actually not necessarily. There are OOP languages where classes are not included or little used. Javascript is a good exa

[Tutor] Help understanding classes

2014-11-14 Thread Bo
Hello everyone, hope all is well. Was just wondering if I could get some help understanding classes and how they work. What is the point in OOP if I don¹t understand classes, are classes not the heart and soul of OOP? I have been trying to learn classes by practicing with Tkinter building GUIs. Bel