s.split() on multiple separators

david david at nospam.spam
Wed Oct 3 01:00:51 EDT 2007


Gabriel Genellina wrote:
> En Sun, 30 Sep 2007 16:16:30 -0300, <mrkafk at gmail.com> escribi�:
> 
>>> From my POV, if I want sequence from here to there, it should include
>> both here and there.
>>
>> I do understand the consequences of making high bound exclusive, which
>> is more elegant code: xrange(len(c)). But it does seem a bit
>> illogical...
> 
> See this note from E.W.Dijkstra in 1982 where he says that the Python 
> convention is the best choice.
> http://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html
> 

The only thing I agreed with was his conclusion. Clever man.

[david]



More information about the Python-list mailing list