Thanks for that Lie. I had to have a think about what you meant when you referred to control going to a.write(line).
Have you any suggestions how I may render this code undead or should I scrap it and create something new? My confusion and ineptitude is perhaps explained by my being a biologist :-( Thanks, Seafoid. -- View this message in context: http://old.nabble.com/Line-indexing-in-Python-tp26845253p26846854.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list