473,320 Members | 1,939 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Beginning with Classes

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
7 1452
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
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
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
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
* 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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Olivier Mandavy | last post by:
Hello, i'm looking for guidelines about what are the comments to be written at the beginning of source files. Thanks a lot. Olivier
40
by: Ari W. | last post by:
Does anybody here have any input on how to start learning C++. I am hoping nobody tells me to take courses. I am still in college and tried taking courses but found that all the details about...
6
by: Pelle Beckman | last post by:
whew. This must be my tenth post or so just this week - thank you to everyone who took the time to answer my questions! Now, I'm helping a friend with an OpenGL application and we need some...
5
by: anas.hashmi | last post by:
I am trying to write to the beginning of a file. The reason: I want to make a form where board webmasters can use it to insert in updates to a webpage without having to go directly into the web...
3
by: Matt | last post by:
Given a date, how to find the beginning date and ending date of that week please advise!
36
by: invni | last post by:
I have a nested while. How do I go from the inner while to the beginning of the outer while? Can this be done without using goto? while_1() { some codes here while_2() { if true go to the...
9
by: Michael A. Covington | last post by:
What books would you recommend for students who want to learn programming in C# and have not previously mastered a related language (Java, C++, Pascal, etc.)? -- Michael A. Covington -...
4
by: djaekimaar | last post by:
Hi. First I apologise if there is a better place to post this. Please let me know. I also apologise in advance if this is a really stupid mistake, but now seem to be bashing head against wall. I...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.