William Woodruff personal blog

Python's splitlines does more than just newlines

I always assumed that Python's str.splitlines() split strings by " universal newlines ", i.e., \n , \r , and \r\n .
Points
122
HN comments
44
Submissions
1
Cited by
0 commenters

Software EngineeringProgramming Languages2025

On Hacker News

SubmittedTitle on HNPointsComments
Oct 9, 2025Python's splitlines does more than just newlines by Bogdanp12244

More from William Woodruff

All 4 posts →

Related posts from the same era