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
If you have a lot of variables, you could pass one single configuration dict or object.