Re: difficulty in understanding rsplit(None,1)[1]

2009-09-23 Thread John Machin
On Sep 22, 7:10 pm, hrishy wrote: > Hi Martin > > Many thanks > And by the way great way to explain that thing great way to find out for yourself faster than waiting for a response from the internet ;-) -- http://mail.python.org/mailman/listinfo/python-list

Re: difficulty in understanding rsplit(None,1)[1]

2009-09-22 Thread nopsidy
lol -nop nop nop -- http://mail.python.org/mailman/listinfo/python-list

Re: difficulty in understanding rsplit(None,1)[1]

2009-09-22 Thread Martin P. Hellwig
John Machin wrote: On Sep 22, 7:10 pm, hrishy wrote: Hi Martin Many thanks And by the way great way to explain that thing great way to find out for yourself faster than waiting for a response from the internet ;-) I have been called many things in the past but being labeled 'the internet'

Re: difficulty in understanding rsplit(None,1)[1]

2009-09-22 Thread hrishy
Hi Martin Many thanks And by the way great way to explain that thing --- On Tue, 22/9/09, Martin P. Hellwig wrote: > From: Martin P. Hellwig > Subject: Re: difficulty in understanding rsplit(None,1)[1] > To: python-list@python.org > Date: Tuesday, 22 September, 2009, 9:52 AM &g

Re: difficulty in understanding rsplit(None,1)[1]

2009-09-22 Thread Martin P. Hellwig
hrishy wrote: Hi What does rsplit(None,1)[1] accomplish. Can somebody please decompose that to me. regards Sure: >>> test = 'This is a test' >>> help(test.rsplit) Help on built-in function rsplit: rsplit(...) S.rsplit([sep [,maxsplit]]) -> list of strings Return a list of the word

difficulty in understanding rsplit(None,1)[1]

2009-09-22 Thread hrishy
Hi What does rsplit(None,1)[1] accomplish. Can somebody please decompose that to me. regards -- http://mail.python.org/mailman/listinfo/python-list