Python title()方法
Python 教程
· 2019-02-02 18:56:48
描述
Python title() 方法返回"标题化"的字符串,就是说所有单词都是以大写开始,其余字母均为小写(见 istitle())。
语法
title()方法语法:
str.title();
参数
- NA。
返回值
返回"标题化"的字符串,就是说所有单词都是以大写开始。
实例
以下实例展示了 title()函数的使用方法:
#!/usr/bin/python str = "this is string example....wow!!!"; print str.title();
以上实例输出结果如下:
This Is String Example....Wow!!!
点击查看所有 Python 教程 文章: https://www.codercto.com/courses/l/8.html
Beginning XSLT 2.0
Jeni Tennison / Apress / 2005-07-22 / USD 49.99
This is an updated revision of Tennison's "Beginning XSLT", updated for the new revision of the XSLT standard. XSLT is a technology used to transform an XML document with one structure into another ......一起来看看 《Beginning XSLT 2.0》 这本书的介绍吧!
MD5 加密
MD5 加密工具
HEX HSV 转换工具
HEX HSV 互换工具