On Wed, Jan 30, 2013 at 9:43 PM, inshu chauhan <insidesh...@gmail.com> wrote: > I actually dont want nested loops but cant find another way to achieve what > I want, But for these files I am sure that they have equal lengths, thats > why I am taking the risk of using nested loops.. Can you suggest any > different way to go around this problem , which could be flexible and > non-errorneous ?
Easy. Just trim off the header row(s), if you know how many to expect, and then use zip() as Dave mentioned earlier. ChrisA -- http://mail.python.org/mailman/listinfo/python-list