"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? -- http://mail.python.org/mailman/listinfo/python-list