Re: join , split question

2009-11-05 Thread elca
And where's the code you or the OP (if not the same person) >> have problems with ? > > I'd certainly be curious to see it, especially with the pagecheck() > line 22 @ http://elca.pastebin.com/f5c69fe41 > > -- > http://mail.python.org/mailman/listinfo/python-list

Re: join , split question

2009-11-05 Thread metal
t; > if anyone help ,much appreciate thanks in advance > > -- > > View this message in > > context:http://old.nabble.com/join-%2C-split-question-tp26193334p26193334.html > > Sent from the Python - python-list mailing list archive at Nabble.com. > > s = "&quo

Re: join , split question

2009-11-05 Thread metal
gt; View this message in > context:http://old.nabble.com/join-%2C-split-question-tp26193334p26193334.html > Sent from the Python - python-list mailing list archive at Nabble.com. s = """uji708 uhodih utus29 agamu4 azi340 ekon62 """ from itertools import cycle f

Re: split question

2005-04-28 Thread alexk
Yes, all of you are right. Thank you all for your answers - I'll use a regex. -- http://mail.python.org/mailman/listinfo/python-list

Re: split question

2005-04-28 Thread Michael Spencer
alexk wrote: I've a simple question. Why the following: words = "[EMAIL PROTECTED]@^%[wordA] [EMAIL PROTECTED]".split('[EMAIL PROTECTED]&*()_+-=[]{},./') doesn't work? The length of the result vector is 1. I'm using ActivePython 2.4 Alex Do you mean, why doesn't it split on every character in '[EM

Re: split question

2005-04-28 Thread Grant Edwards
On 2005-04-28, alexk <[EMAIL PROTECTED]> wrote: > I've a simple question. Why the following: > > words = "[EMAIL PROTECTED]@^%[wordA] [EMAIL PROTECTED]".split('[EMAIL > PROTECTED]&*()_+-=[]{},./') > > doesn't work? But it does work. Your input string (the one on the left) does not contain the de

split question

2005-04-28 Thread alexk
I've a simple question. Why the following: words = "[EMAIL PROTECTED]@^%[wordA] [EMAIL PROTECTED]".split('[EMAIL PROTECTED]&*()_+-=[]{},./') doesn't work? The length of the result vector is 1. I'm using ActivePython 2.4 Alex -- http://mail.python.org/mailman/listinfo/python-list