how to remove leading and trailing spaces from strings in a python list,row = [x.strip() for x in row]