I have the following problem. I have a for loop, in which i want to add always the newcoming element of a list to a new line in a csv file. But something is wrong with my code. If i open the file, there is alwys a space between the rows and the list brackets are also existing.
My code extract:
allParameterCombi.append([fRC_Network1.jc,fRC_Network1.radius,fRC_Network1.frcSize, fRC_Network1.percent[0],fRC_Network1.percent[1],fRC_Network1.distType, fRC_Network1.ID])
with open('parameterCombinatons.csv','a') as csv_file:
writer = csv.writer(csv_file, delimiter=";")
writer.writerow([allParameterCombi[count3-1]])
count3 = count3 +1