¡@

Home 

python Programming Glossary: classwithlotsofattributes

Most “pythonic” way of organising class attributes, constructor arguments and subclass constructor defaults?

http://stackoverflow.com/questions/1118006/most-pythonic-way-of-organising-class-attributes-constructor-arguments-and-su

arguments especially when I'm subclassing class ClassWithLotsOfAttributes object def __init__ self jeebus coolness 'lots' python 'isgoodfun'.. 12 self.whatever None self.yougettheidea True class Dog ClassWithLotsOfAttributes def __init__ self coolness 'lots' python 'isgoodfun' pythonic.. 4 datawad None dataload None datacatastrophe None super ClassWithLotsOfAttributes self .__init__ coolness python pythonic duck pants magictenbucks..