SyntaxFix
Write A Post
Hire A Developer
Questions
I follow this way to append a new line in a .csv file:
pose_x = 1 pose_y = 2 with open('path-to-your-csv-file.csv', mode='a') as file_: file_.write("{},{}".format(pose_x, pose_y)) file_.write("\n")