Python 字符串String translate() 方法 Python 字符串String title() 方法 Python 字符串String delete character Python 字符串String translate() 方法 #!/usr/bin/python from string import maketrans # Required to call maketrans function. intab = "aeiou" outtab = "12345" trantab = maketrans(intab, outtab) str = "this is string example....wow!!!"; print str.translate(trantab) Python 字符串String title() 方法 Python 字符串String delete character