[Tutor] Splitting
Abhinav Gaurav
abhinavtester at yahoo.co.uk
Mon Jul 10 06:38:52 CEST 2006
Hi,
Thanks for your help! I am wondering if it works fine then why it failing on my comp. And what is the remedy for it?
Thanks
Abhinav
Daniel Watkins <daniel at thewatkins.org.uk> wrote:
Abhinav Gaurav wrote:
> Example :-
> >>> a="43;dsds;d"
>>>>
>>>> b=a.split(';')
> Can anybody help on resolving this issue?
This is what it looks like on my computer:
>>> a="43;dsds;d"
>>> b=a.split(";")
>>> print b
['43', 'dsds', 'd']
This is using Python 2.4.2, though AFAI can recall this behaviour hasn't
changed in a while... Weird...
Sorry I couldn't be more help,
Dan
_______________________________________________
Tutor maillist - Tutor at python.org
http://mail.python.org/mailman/listinfo/tutor
---------------------------------
Try the all-new Yahoo! Mail . "The New Version is radically easier to use" – The Wall Street Journal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060710/6389e9ff/attachment.html
More information about the Tutor
mailing list