![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
phoenix13suns
这个作者很懒,什么都没留下…
展开
-
python+正则表达式
本文http://blog.csdn.net/whycadi/article/details/2011046 http://www.cnblogs.com/huxi/archive/2010/07/04/1771073.html 1. Python正则式的基转载 2011-10-06 20:06:47 · 536 阅读 · 0 评论 -
python 经验
1. list 去除重复 http://python.u85.us/viewnews-6.html l1 = ['b','c','d','b','c','a','a'] l2 = [] [l2.append(i) for i in l1 if not i in l2] print l2 2.中文gbk字符 正则匹配 re.findall(r'[转载 2011-12-05 17:36:50 · 260 阅读 · 0 评论