摘要: Python 字符串格式化 Python字符串格式化有两种方式:百分号方式,format方式 1、百分号方式 格式:%[(name)][flags][width].[precision]typecode (name) 可选,用于选择指定的key flags 可选,可供选择的值有: + 右对齐;正数前 阅读全文
posted @ 2017-11-28 14:00 YangYongming 阅读(489) 评论(0) 推荐(0) 编辑