>> s = ' '.join(s.split()[1:])
> 
> or just 
> s = s.split(None, 1)[1]

Neat, I hadn't noticed the maxsplit parameter before.

Alan G.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to