in python how to remove this \n from string or list
- by pritesh modi
this is my main string
"action","employee_id","name"
"absent","pritesh",2010/09/15 00:00:00
so after name coolumn its goes to new line but here i append to list a new line character is added and make it like this way
data_list*** ['"action","employee_id","name"\n"absent","pritesh",2010/09/15 00:00:00\n']
here its append the new line character with absent but actually its a new line strarting but its appended i want to make it like
data_list*** ['"action","employee_id","name","absent","pritesh",2010/09/15 00:00:00']