[Tutor] Properties

Greg Lindstrom gslindstrom at gmail.com
Thu Jun 7 22:25:22 CEST 2007


Hello, and I apologize in advance for the question.

I have decided to publish a class I use to handle data segments to Google
Code for the world to see (I plan to make millions off training classes,
books and lectures :-).  I need to make it a bit more 'generic' than the
class I have been using, and while I'm working the rewrite I thought it
would be cool to add unit tests and use properties.  The problem is, I only
recall that properties are 'cool'.  I can't locate the documentation on why
or how to use them.  If you could point me to the proper documentation I
would be most appreciative.

Also, I plan to use unittest to write my unit tests.  Is this module still
considered acceptable, or has something else taken it's place?

Thanks for your help,

--greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070607/827c97c2/attachment.htm 


More information about the Tutor mailing list