Marco Aschwanden schrieb: > Marvelous that was the solution I was looking for. > >> I think you should consider a class instead of a module, though. > > What I don't get: Why should I consider using a class?
Because sharing state in such a way that several functions need to access some later bound globals cries for a class that gets that very state passed on instantiation. Diez -- http://mail.python.org/mailman/listinfo/python-list