Byte wrote: > "Try this (I think its called "argument expansion", but I really don't > know what its called, so I can't point you to docs):" > > This works, thanks. But how acn I get rid of the ugly surrounding > brackets and commas? > > e.g. If the scripts overall output was (('B', 'C'),), how to change it > to just B C? >
You can get rid of the outer parentheses by removing the asterisk from the parameter list. But the other parentheses: ('B', 'C') will remain, because it's a tuple. You can access the values by indexing. -- http://mail.python.org/mailman/listinfo/python-list