Announcing the Partition Principle of #Python Pedagogy:
No matter what you are showing people or how unusual it is, if it uses str.partition() most of the comments will be, "I didn't know about str.partition()!"
https://docs.python.org/3/library/stdtypes.html#str.partition
BTW: also str.rpartition()...
@nedbat Ahah! I didn't know about `str.partition()`.
@nedbat to be fair, it was only added in Python 2.5
@nedbat [recalling the time in my life when 3 was out but Because Reasons $DAY_JOB was on 2.3 ]