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
for i, x in zip(cycle(range(3)), s.splitlines()):
print x
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 = uji708
uhodih
utus29
agamu4
azi340
ekon62
from itertools import
://elca.pastebin.com/f5c69fe41
--
http://mail.python.org/mailman/listinfo/python-list
thanks all!
i was resolved :)
--
View this message in context:
http://old.nabble.com/join-%2C-split-question-tp26193334p26225646.html
Sent from the Python - python-list mailing list archive at Nabble.com.
--
http
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
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 delimiter
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
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