Thanks both

The first answer is quite instuctive, the other one might be the one
I'll use in the code, it's nicely compact and clear.

So 2x thanks.

:-) Martin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to