Andrea Tomadin wrote:

> This works, but isn't it weird to define a class if I know from the
> very beginning that there will be no more than an instance of that
> class?

Singleton

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52558
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to