In <[EMAIL PROTECTED]>, Paul McGuire wrote: >>>> tupGlob = (('VOWELS','aeiou'),('CONS','bcdfgh')) >>>> for nam,val in tupGlob: locals()[nam]=val > ... >>>> VOWELS > 'aeiou' >>>> CONS > 'bcdfgh' >>>>
Little warning: It works only on module level as assigning to `locals()` return value in functions and methods has no effect on the "real" locals. Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list