No matter what happens in the world, one thing will remain constant: me typing `.trim()` when I mean `.strip()` in #Python, every single time.
Conversation
Notices
-
Embed this notice
James Scholes (jscholes@dragonscave.space)'s status on Tuesday, 04-Feb-2025 22:58:37 JST James Scholes
-
Embed this notice
GreenSkyOverMe (Monika) (greenskyoverme@ohai.social)'s status on Tuesday, 04-Feb-2025 23:01:04 JST GreenSkyOverMe (Monika)
@jscholes I had to Google it. Trim appears to be strip‘s evil twin. What would even be the purpose of a function that only strips one white space on each side?
-
Embed this notice