Beginning with Classes

  • Thread starter Noud Aldenhoven
  • Start date
N

Noud Aldenhoven

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
 
S

Stefan Axelsson

Noud said:
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,
 
B

beliavsky

Noud Aldenhoven said:
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.
 
N

Noud Aldenhoven

Stefan said:
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
 
T

Thorsten Kampe

* 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/Object-Oriented-Programming-With-Python-part-1/
http://www.devshed.com/c/a/Python/ObjectOriented-Programming-With-Python-part-2/
 
S

Stefan Axelsson

Noud said:
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,
 
I

Ivo Woltring

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,211
Messages
2,571,092
Members
47,693
Latest member
david4523

Latest Threads

Top