摘要:
1.格式uniq [OPTION]... [INPUT [OUTPUT]]2.命令 -c, --count prefix lines by the number of occurrences -d, --repeated o... 阅读全文
posted @ 2014-10-21 16:34
天天AC
阅读(332)
评论(0)
推荐(0)
摘要:
1.strip删除首尾的字符>>> a = 'abcd'.strip('a') #删除首部的a>>> print (a)bcd>>> a = 'abcd'.strip('d') #删除尾部的d>>> print (a)abc>>> a = 'abcda'.strip('a') #删除... 阅读全文
posted @ 2014-10-21 16:12
天天AC
阅读(442)
评论(0)
推荐(0)

浙公网安备 33010602011771号