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


Groups > comp.lang.python > #63273 > unrolled thread

function to split strings and lists on predicate

Started byMark Lawrence <breamoreboy@yahoo.co.uk>
First post2014-01-06 06:48 +0000
Last post2014-01-06 06:48 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#63273 — function to split strings and lists on predicate

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2014-01-06 06:48 +0000
Subjectfunction to split strings and lists on predicate
Message-ID<mailman.5009.1388990899.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web