Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75675 > unrolled thread

Re: Python Classes

Started byTerry Reedy <tjreedy@udel.edu>
First post2014-08-04 05:11 -0400
Last post2014-08-04 05:11 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python Classes Terry Reedy <tjreedy@udel.edu> - 2014-08-04 05:11 -0400

#75675 — Re: Python Classes

FromTerry Reedy <tjreedy@udel.edu>
Date2014-08-04 05:11 -0400
SubjectRe: Python Classes
Message-ID<mailman.12630.1407143513.18130.python-list@python.org>
On 8/4/2014 4:40 AM, Shubham Tomar wrote:
> Hi,
>
> Python is the first programming language that I'm learning.
> I'm confused by the idea of classes and intimidated by syntax defining
> classes. I understand that you define classes to have re-usable methods
> and procedures, but, don't functions serve the same purpose.
> Can someone please explain the idea of classes and what /things /like
> "__init__", "Object" and "self" mean ?

If you have not, read and work examples based on our fine tutorial. 
Classes are intentionally the last chapter about syntax.

If you have read up to and into chapter 9, and are stuck on a particular 
section, tell us.

-- 
Terry Jan Reedy

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web