2014年6月3日

爬虫程序

摘要: 下面是一个简单的爬虫程序。#!/usr/bin/env pythonfrom sys import argvfrom os import makedirs, unlink, sepfrom os.path import dirname, exists, isdir, splitextfrom str... 阅读全文

posted @ 2014-06-03 16:55 kramer 阅读(922) 评论(0) 推荐(0) 编辑

HTMLParser in python

摘要: You can know form the name that the HTMLParser is something used to parse HTML files. In python, there are two HTMLParsers. One is the HTMLParser clas... 阅读全文

posted @ 2014-06-03 12:02 kramer 阅读(1313) 评论(0) 推荐(0) 编辑

导航