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 <[EMAIL PROTECTED]> 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@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
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to