摘要:strip()函数介绍:# -*- coding: cp936 -*-#strip()去掉转义字符>>>word = "\thello world\n">>>print "直接输出:",word>>>print "strip()后输出:",word.strip() --strip去掉所有的转义字符...
阅读全文
posted @ 2015-08-02 13:56
posted @ 2015-08-02 13:56