摘要: 一.格式化字符串 Python的字符串格式化有两种方式: 百分号方式、format方式 1.百分号方式 %[(name)][flags][width].[precision]typecode (name) 可选,用于选择指定的key flags 可选,可供选择的值有: + 右对齐;正数前加正好,负数 阅读全文
posted @ 2016-12-23 23:32 飘逸晴天 阅读(112) 评论(0) 推荐(0) 编辑