The Python Oracle

Splitting on last delimiter in Python string?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Horror Game Menu Looping

--

Chapters
00:00 Question
00:39 Accepted answer (Score 627)
02:09 Answer 2 (Score 42)
02:23 Answer 3 (Score 5)
02:44 Thank you

--

Full question
https://stackoverflow.com/questions/1501...

Accepted answer links:
[.rsplit()]: http://docs.python.org/library/stdtypes....
[.rpartition()]: http://docs.python.org/library/stdtypes....

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #string #list #parsing #split

#avk47