root/scripts/data2xml/util.py @ 34
1 |
# Useful functions and classes
|
---|---|
2 |
|
3 |
class Obj: |
4 |
def __init__(self, **attrs): self.__dict__ = attrs |
5 |
|
6 |
def __repr__(self): return repr(self.__dict__) |