2013年12月4日
摘要: 1.(?:...) 不想保存括号里匹配项时使用The (?:...) notation should be fairly popular; with it, you can groupparts of a regex, but it does not save them for future retrieval or use.>>> re.findall(r'http://(?:\w+\.)*(\w+\.com)', 'http://google.com http://www.google.com http://code.google.com' 阅读全文
posted @ 2013-12-04 21:32 大哉昆仑 阅读(254) 评论(0) 推荐(0)
摘要: Python1. 深入Python 3 (不错的在线学习python的网站) http://woodpecker.org.cn/diveintopython3/2. 基本语法 (适合快速了解) http://www.tutorialspoint.com/python/index.htm3. Python的算法 (形象,易懂) http://interactivepython.org/courselib/static/pythonds/index.html4. Python 实战练习(强烈推荐) http://www.checkio.org5. 自然语言工具NLTK http://nl... 阅读全文
posted @ 2013-12-04 18:42 大哉昆仑 阅读(232) 评论(1) 推荐(0)