alex goretoy wrote: > v should have ['3','4','1'] sorry if I made it confusing. > [...]
Aah, I see I was giving you incorrect advice. I now realise that you want to flatten the lists as well. Don't try to do this with a list comprehension. It won't work without creating an unnecessary list of lists of None. regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ -- http://mail.python.org/mailman/listinfo/python-list