Python札记1-HTTP Download
# -*- coding: utf-8 -*-
__author__ = 'gull'
import os, urllib2, log_factory
from urlparse import urlsplit
def get(url, filePath, fileName = None, buffer = 16 * 1024):
log = log_factory.ge...
2011-08-24 21:55:52 ·
198 阅读 ·
0 评论