Splitting a string once in #Python: .split() has maxsplit=, but .partition() can be better:
=> More informations about this toot | More toots from nedbat@hachyderm.io
@nedbat πThat's a good one. Going to have to use this going forward! I definitely see using this on emails, urls, etc.
=> More informations about this toot | More toots from trbarrettjr@crosstalk.tech
text/gemini
This content has been proxied by September (3851b).