By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,825 Members | 1,258 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,825 IT Pros & Developers. It's quick & easy.

Beginning with Classes

P: n/a
Hello,

For almost half a year I'm programming in Python. I never programmed before
Python. In that half year I learned a lot, but one thing I still can't
programme correct... Classes.

Is there a tutorial or a documentation about Python and classes. Starting
from beginners and ending in avarege or expert?

Thank you,

Noud Aldenhoven
The Netherlands
Jul 18 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Noud Aldenhoven wrote:
Is there a tutorial or a documentation about Python and classes. Starting
from beginners and ending in avarege or expert?


If you haven't read "How to Think Like a Computer Scientist: Learning
with Python", by Jeff Elkner (et.al.?) then I'd suggest you'd start
there. Its geared towards beginning programmers and will get you started
with classes etc. It's available on the web (free as in both beer and
speech) at http://ibiblio.org/obp/thinkCS/python.php

Stefan,
--
Stefan Axelsson (email at http://www.cs.chalmers.se/~sax)
Jul 18 '05 #2

P: n/a
Excellent book! This is where I learned Object-Oriented Programming also.

Byron
---
Stefan Axelsson wrote:
Noud Aldenhoven wrote:
Is there a tutorial or a documentation about Python and classes. Starting
from beginners and ending in avarege or expert?

If you haven't read "How to Think Like a Computer Scientist: Learning
with Python", by Jeff Elkner (et.al.?) then I'd suggest you'd start
there. Its geared towards beginning programmers and will get you started
with classes etc. It's available on the web (free as in both beer and
speech) at http://ibiblio.org/obp/thinkCS/python.php

Stefan,

Jul 18 '05 #3

P: n/a
Noud Aldenhoven <jw****@freeler.nl> wrote in message news:<a3***************************@freeler.nl>...
Hello,

For almost half a year I'm programming in Python. I never programmed before
Python. In that half year I learned a lot, but one thing I still can't
programme correct... Classes.

Is there a tutorial or a documentation about Python and classes. Starting
from beginners and ending in avarege or expert?

The book "Learning Python, Second Edition" by Mark Lutz, David Ascher
covers OOP with Python in detail, starting from scratch.
Jul 18 '05 #4

P: n/a
Stefan Axelsson wrote:
Noud Aldenhoven wrote:
Is there a tutorial or a documentation about Python and classes. Starting
from beginners and ending in avarege or expert?


If you haven't read "How to Think Like a Computer Scientist: Learning
with Python", by Jeff Elkner (et.al.?) then I'd suggest you'd start
there. Its geared towards beginning programmers and will get you started
with classes etc. It's available on the web (free as in both beer and
speech) at http://ibiblio.org/obp/thinkCS/python.php

Stefan,


I read the book too, but it doesn't dive too deep into classes.
But you're right! It's a good book to start.

Thank you,

Noud
Jul 18 '05 #5

P: n/a
* Noud Aldenhoven (2004-11-06 14:33 +0100)
For almost half a year I'm programming in Python. I never programmed before
Python. In that half year I learned a lot, but one thing I still can't
programme correct... Classes.

Is there a tutorial or a documentation about Python and classes. Starting
from beginners and ending in avarege or expert?


* Object Oriented Programming With Python
http://www.devshed.com/c/a/Python/Ob...Python-part-1/
http://www.devshed.com/c/a/Python/Ob...Python-part-2/
Jul 18 '05 #6

P: n/a
Noud Aldenhoven wrote:
I read the book too, but it doesn't dive too deep into classes.
But you're right! It's a good book to start.


OK. What specifically do you have a problem with? Object oriented
programming in general or how it's implemented in Python in particular?
If it's the former I'm not sure it's a Python book you're after.

There ought to be plenty available on the web. In it's day I found "
Design Patterns Elements of Reusable Object-Oriented Software"
by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides, helpful
when it came to the question of how to actually design something the "OO
way."

But there's probably a ton of stuff out there.

If you're into free books and need a deeper Python treatise there's a
chapter in "Dive into Python", that'll go into a bit more depth than
"Thinking..." but granted there isn't much OO specific in "Dive..."
Stilla good book though.

Stefan,
--
Stefan Axelsson (email at http://www.cs.chalmers.se/~sax)
Jul 18 '05 #7

P: n/a
On Mon, 08 Nov 2004 10:22:13 +0100, Stefan Axelsson
<cr******@hotmail.com> wrote:
Noud Aldenhoven wrote:
I read the book too, but it doesn't dive too deep into classes.
But you're right! It's a good book to start.


OK. What specifically do you have a problem with? Object oriented
programming in general or how it's implemented in Python in particular?
If it's the former I'm not sure it's a Python book you're after.

There ought to be plenty available on the web. In it's day I found "
Design Patterns Elements of Reusable Object-Oriented Software"
by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides, helpful
when it came to the question of how to actually design something the "OO
way."

But there's probably a ton of stuff out there.

If you're into free books and need a deeper Python treatise there's a
chapter in "Dive into Python", that'll go into a bit more depth than
"Thinking..." but granted there isn't much OO specific in "Dive..."
Stilla good book though.

Stefan,


YES! I agree completely!

Jul 18 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.