Instead of writing code like this every time I define a class:
class Foo(object): def __init__(self, a, b, c, d, e, f, g): self.a = a s
One drawback: many IDEs parse __init__.py to discover an object's attributes. If you want automatic code completion in your IDE to be more functional, then you may be better off spelling it out the old-fashioned way.
__init__.py