Python_API_String Services_string.upper
来源:互联网 发布:mc录音软件 编辑:程序博客网 时间:2024/05/01 23:35
API文档:
string.upper(s)
- Return a copy of s, but with lower case letters converted to upper case.
- 翻译文档:
- 参数:
- s:目标字符串
- 描述:
- 返回一个s字符串的副本,但是所有的字符都被转换为大写。
例子:
#! /usr/bin/env python
#coding=utf-8
import string
str='AAAbbb'
print string.upper(str)
输出:
AAABBB
- Python_API_String Services_string.upper
- Python_API_String Services_string.strip
- Python_API_String Services_string.find
- Python_API_String Services_string.index
- Python_API_String Services_string.count
- Python_API_String Services_string.replace
- Python_API_String Services_string.split
- Python_API_String Services_string.lower
- upper
- Python_API_String Services_re.sub
- Python_API_String Services_re.search
- Python_API_String Services_re.compile
- upper.c
- oracle upper
- First Letter Upper Case
- iPhone PNG fixer-upper
- Oracle lower(Upper)函数
- Upper Back Exercises
- IE6和以下版本解决下拉框挡住Div问题
- POJ 1088 DFS 同时记录深搜过的位置
- 竖脊肌(01):背屈伸
- CSS 透明样式 兼容IE、FF、及其它
- ACM-FZOJ2009-1715解题报告
- Python_API_String Services_string.upper
- IE8 火狐下 table 不能居中的解决方法
- android 异步加载
- linux压缩(解压缩)命令详解
- ACM-FZOJ1011解题报告
- Eclipse中查看Android2.2源程序
- git 使用教程
- 常用的csss标记属性
- 可爱的python conclusion