how do i remove \n from my python dictionary?,"key, value = line.rstrip('\n').split(',')"