Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63273

function to split strings and lists on predicate

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject function to split strings and lists on predicate
Date 2014-01-06 06:48 +0000
Newsgroups comp.lang.python
Message-ID <mailman.5009.1388990899.18130.python-list@python.org> (permalink)

Show all headers | View raw


I came across this over the weekend 
http://paddy3118.blogspot.co.uk/2013/10/unifying-pythons-string-and-list.html. 
  I couldn't come up with a solution to the fsplit function that seemed 
in any way cleaner.  What can our nest of avid Pythonistas come up with?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

function to split strings and lists on predicate Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-06 06:48 +0000

csiph-web