s = "There should be one -- and preferably only one -- obvious way to
do it".partition('only one')
print s[0]+'more than one'+s[2]

;)

Regards,
Jordan

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to