Python文本常量和模板——string
摘要:
#!/usr/bin/python#coding=utf-8#http://docs.python.org/library/string.htmlimport string#全部字母 abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZprint string.ascii_letters print string.letters #根据地域来的#全部小写字母 abcdefghijklmnopqrstuvwxyzprint string.ascii_lowercaseprint string.lowercase#全部大写字母 ABCDEFGHI 阅读全文
posted @ 2012-08-03 18:02 Goodspeed 阅读(1275) 评论(0) 推荐(0) 编辑