at://
/
app.bsky.feed.post
/
3mnsuymcd3d2j
sign in
All
4
Record
2
Post
1
PostEmbed
1
Post
by @danabra.mov
PostEmbed
by @danabra.mov
Record
by @jimpick.com
Record
by @atsui.org
+ new component
Post
“So the next time you need to split a string into lines, don't use the string split method.” Read more 👉 pym.dev/splitlines/ #Python
2d
To split text into lines in Python, use the splitlines() method, not the split() method.
pym.dev
Why splitlines() instead of split("\n")?
Trey Hunner