import string string.ascii_letters string.lowercase string.lower(‘大写字母‘) string.uppercase string.upper(‘小写字母‘)
Python String模块用法
原文:http://www.cnblogs.com/bigbrother/p/6782403.html