readlines without \n code example Example: python readlines without n temp = file.read().splitlines()