The Python Oracle

How would I get everything before a : in a string Python

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: Cosmic Puzzle

--

Chapters
00:00 Question
00:29 Accepted answer (Score 322)
00:46 Answer 2 (Score 95)
01:23 Answer 3 (Score 27)
01:50 Answer 4 (Score 19)
03:31 Thank you

--

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

--

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

--

Tags
#python #regex #string #split

#avk47