I am trying to write some data into a csv file, but when I write the file the data skips a line. I tried putting commas at the end of the write line but that did not work.
Attached is the part of the code where I write the data.
Thanks
Attached is the part of the code where I write the data.
Code:
writer.writerow(datim + [button1]+ [row['cruise']] + [row['crunum']]+ [sitecode]+ [SeriesCode]+ [deploynum]+ [DeploymentCode]+ [ctd]+ [blat] + [blon]+[deploymenteklog]+ [Deploymentcom1 + str(deploynum)]), writer.writerow(datim + [button2]+ [row['cruise']] + [row['crunum']]+[sitecode]+[SeriesCode]+[deploynum]+[DeploymentCode]+[ctd]+[elat]+[elon]+[deploymenteklog]+[Deploymentcom2 + str(deploynum)]),
Comment