"to read line from file in python without getting ""\n"" appended at the end",line = line.rstrip('\n')