In Python 3 in Windows 7 I read a web page into a string.
I then want to split the string into a list at newline characters.
I can't enter the newline into my code as the argument in split()
, because I get a syntax error
'EOL while scanning string literal'
If I type in the characters \
and n
, I get a Unicode error.
Is there any way to do it?