Re: Issue with writelines

2009-09-02 Thread r
On Sep 2, 8:20 am, LeeRisq wrote: (snip: code) > Traceback: (snip) > TypeError: writelines() argument must be a sequence of strings Well you need to print out "y" and see whats in there. The error is pretty obvious. -- http://mail.python.org/mailman/listinfo/python-list

Re: Issue with writelines

2009-09-02 Thread S.Selvam
On Wed, Sep 2, 2009 at 6:50 PM, LeeRisq wrote: > I've written this program that has been working fine until today. > Can't work out why it stopped working. The program pulls a list from > an xls file, inserts each item from the list into a repeating string, > that then concatenates the repeating

Issue with writelines

2009-09-02 Thread LeeRisq
I've written this program that has been working fine until today. Can't work out why it stopped working. The program pulls a list from an xls file, inserts each item from the list into a repeating string, that then concatenates the repeating string and writes it to a text file. It has worked fine u