Thanks folks. Was unaware of enumerate , still have a lot to learn about python.
Sorry for the poorly phrased request, but you gathered the gist of it. My wonderment is how to write the following 2 lines and make sure they are saved as separate records or lines so that I pull in only one at a time with readline(?). ['a', 'b'], ['c','d']] [['a', 'b'], ['c','d'], ['e','f']] Would like to use pickle but it is apparently unavailable in the package I am using, Jython 2.2. -- http://mail.python.org/mailman/listinfo/python-list