In [45]: str = "this is string example....wow!!!"In [46]: str.title()Out[46]: ‘This Is String Example....Wow!!!‘In [47]: str.title().istitle()Out[47]: True
In [45]: str = "this is string example....wow!!!"
In [46]: str.title()
In [47]: str.title().istitle()
Out[47]: True
python title()的用法
原文:http://www.cnblogs.com/iathena/p/81f4da74cf7ae3fbc470ad625fc97ddd.html