Login
Roast topics
Find topics
Find it!
From:
www.pythonmorsels.com
(Uncensored)
subscribe
Newlines and escape sequences in Python - Python Morsels
https://www.pythonmorsels.com/newlines-and-escape-sequences/
links
backlinks
Roast topics
Find topics
Roast it!
Python allows us to represent newlines in strings using the \n "escape sequence" and Python uses line ending normalization when reading and writing with files.