Pyenos a écrit : > [code] You already got the answer - just a pair of stylistic advices:
> class WORK: 1/ By convention, ALL_UPPER names denote (pseudo) symbolic constants. The convention for class names is CamelCase. 2/ better to use new-style classes. => class Work(object): ... -- http://mail.python.org/mailman/listinfo/python-list