</F>, No, I hadn't included the '*' Ya learn something every day.
Pete On Wed, 13 Apr 2005 11:07:13 +0200, Fredrik Lundh wrote: > Peter Moscatt wrote: > >>> strings = "string1", "string2", "string3" >>> fm = OptionMenu(root, xx, *strings) >> >> Thanks for the help on this. Yea the 'exec' did the trick. >> The second example just placed all the strings in one option button. > > did you include the asterisk? if you remove that, you get one option. if you > include it, you get three options. > > </F> -- http://mail.python.org/mailman/listinfo/python-list