how to split till the first space in python code example Example: python split first space >>> s = "238 NEO Sports" >>> s.split(" ", 1) ['238', 'NEO Sports']