Max Noel wrote:
Speaking of that, would you happen to know a good tutorial/introduction to metaclasses in Python?

Here is an example that bills itself as "The Simplest Possible Metaclass": http://orbtech.com/blog/simplemetaclass

The new Python Cookbook (the printed one) has a chapter on Descriptors, Decorators and Metaclasses. It has some simple examples of metaclasses. I haven't read it yet but the first Cookbook was excellent and I expect this one to be also.

BTW the new Cookbook features a recipe by none other than yours truly and Danny Yoo! It happens to be in the sample chapter online - check out recipe 3.2 at http://www.oreilly.com/catalog/pythoncook2/chapter/index.html

Kent

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to