Use I the classes?

2006-10-20 Thread Fulvio
***
Your mail has been scanned by InterScan MSS.
***


Hello,

I'm used to put up programs (small right now), but I could find the only way 
to define some functions.
I'm interested to split some function into class, but I don't have know-how 
for these beasts.
Looking for documents (free download) which clearly explain the way of 
programming python classes and lots of examples as a bonus.

Thanks

F


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Use I the classes?

2006-10-20 Thread BartlebyScrivener
Fulvio wrote:

 Looking for documents (free download) which clearly explain the way of
 programming python classes and lots of examples as a bonus.

http://www.freenetpages.co.uk/hp/alan.gauld/

On the frames page, go down to Advanced Topics and Object Oriented
Programming

And from the other thread we were on:

 Think of a class as both a blueprint for objects and a factory
 creating these objects. The class lets you define the attributes and
 behaviors of it's instances. 

http://tinyurl.com/yd97t5

rd

-- 
http://mail.python.org/mailman/listinfo/python-list