会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
程序员小王
博客园
首页
新随笔
联系
订阅
管理
2014年6月11日
python 字符串使用
摘要: lower():将大写字母全部转为小写字母。如: name='G'b=name.lower() title”":将字符串转化为标题,即所有单词的首字母大写,其他字母小写。使用方法同lower() replace:返回某字符串的所有匹配项均被替换之后得到的字符串。 'This is a test'.replace('is','are') ...
阅读全文
posted @ 2014-06-11 08:50 程序员小王
阅读(257)
评论(0)
推荐(0)
编辑
公告