On Thu, 16 Nov 2006, Kent Johnson wrote: > or s.split('.')[0] which you can put into your one-liner.
Yes, but that would not have given me the opportunity to write that extravagantly run-on sentence. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor