Could anyone tell me how to get a classes name: class MyClass: def className( self ): return self.__name__ This doesn't fly. The docs say a class has the __name__ attribute but... thanks jb -- There are bugs and then there are bugs. And then there are bugs. -- Karl Lehenbauer