newbie lists and code examples for OOP.

skoria shomon at softhome.net
Fri Mar 1 04:34:03 EST 2002


Hi

Firstly: is there a better forum for newbie questions like this one?
It's hard for me to post to a high traffic list, and maybe there's a
local uk based one or one specifically aimed at newbies.

I'm trying to write a class where one function calls a method in the
same class. Right now I'm doing this with trial and error, and I don't
really understand where I need to put parentheses, use (self), etc. I
can't find any "functional" examples of object oriented programming on
any online tutorials, or any simple programs already written that can
be used as a good tool to figure out how to call functions within
classes in python, when to use self.* what internal functions (like
__init__) can be used for. Lots of theory on this, but no functional
examples.

Can anyone suggest any?

Thanks,

Ale







More information about the Python-list mailing list