On 8 Jan 2005 20:40:37 -0800, [EMAIL PROTECTED] (Sean McIlroy) wrote: >def newGame(): > BOARD = [blank]*9 > for x in topButtons+midButtons+botButtons: x['text'] = ''
Do you know that "BOARD" here is a local variable and has nothing to do with the global BOARD ? You can change that by doing either BOARD[:] = [blank]*9 or global BOARD BOARD = [blank]*9 HTH Andrea -- http://mail.python.org/mailman/listinfo/python-list