Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75675 > unrolled thread
| Started by | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| First post | 2014-08-04 05:11 -0400 |
| Last post | 2014-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.
Re: Python Classes Terry Reedy <tjreedy@udel.edu> - 2014-08-04 05:11 -0400
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2014-08-04 05:11 -0400 |
| Subject | Re: 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
Back to top | Article view | comp.lang.python
csiph-web