How to Use rpartition to Split From the Right
rpartition splits on the LAST occurrence. Perfect for filenames. One call. No regex. Nobody uses it.
#python #rpartition #split #string #howto #oneliner
https://www.youtube.com/watch?v=tYohVygO3-0