On Tue, 12 Feb 2008 14:45:43 +0100, Sun wrote: > then the question is how can I declare a empty set variable as a 'var= []' > do to a list variable?
You don't declare variables in Python. Just create an instance of `set` and bind it to a name: var = set() Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list