赞
踩
str.replace(old, new[, count])
>>> a = '路飞,路飞,你真丑!'>>> a.replace('路飞', '山治')'山治,山治,你真丑!' >>> a.replace('路飞', '山治', 1)'山治,路飞,你真丑!'