How do I remove \n from my python dictionary?,"x = line.rstrip('\n').split(',')"