摘要: a='this is a'b=a.replace('a','b') 字符串替换c='this is %s %s' %('my','apple')d='this is {} {} ' .format('my','apple')e='this is {1} {0} ' .format('apple','... 阅读全文
posted @ 2015-09-01 23:25 robotor 阅读(178) 评论(0) 推荐(0) 编辑