AnsweredAssumed Answered

How to use CSV module write to multiple lines.

Question asked by EscondidoAnalyst on May 26, 2016
Latest reply on May 31, 2016 by EscondidoAnalyst

I have multiple lines but only one is written to the csv file. What am I missing from an except of my code.

s = (fullpath + lyr_source)
                    
                        with open('TEST.csv', 'w') as writeexcel:
                            a = csv.writer(writeexcel)
                            for line in [s]:
                                a.writerow ([line])

Outcomes