2012年8月8日

python--python核心编程(2)--字符串Ⅰ

摘要: 转载自:http://www.cnblogs.com/moomu/archive/2011/11/15/2250456.html使用字符串Table of Contents1 基本字符串操作 2 字符串格式化:精简版 2.1 用字符串格式化操作符 2.2 用string的Template格式化字符串 3 字符串格式化:完整版 3.1 转换说明符 3.2 简单转换 3.3 字段宽度和精度 3.4 符号,对齐和 0 填充 4 字符串方法 4.1 find 4.2 join 4.3 lower 4.4 replace 4.5 split 4.6 strip 4.7 translate 1 基本字符串 阅读全文

posted @ 2012-08-08 10:04 龙沙宝石 阅读(345) 评论(0) 推荐(0)

导航