Feb-14-2022, 04:37 AM
Hi,
Just want to give an update that I was able to solve the problem. I rechecked the .csv file and realized that I was receiving all the data but the 513th value and the following multiples of 513th value were not entering in a newline, instead in the same row. For ex. the 513th value and 514th value, were in the same row and the 515th in next row.
I solved this problem by simply adding
Thank you for all those who helped
Just want to give an update that I was able to solve the problem. I rechecked the .csv file and realized that I was receiving all the data but the 513th value and the following multiples of 513th value were not entering in a newline, instead in the same row. For ex. the 513th value and 514th value, were in the same row and the 515th in next row.
I solved this problem by simply adding
print("\n")
before the f.write('\n'.join([str(x) for x in values]))
.Thank you for all those who helped

