摘要:
#coding=gbk#download pictures of the url#useage: python downpicture.py www.baidu.comimport osimport sysfrom html.parser import HTMLParserfrom urllib.request import urlopenfrom urllib.parse import urlparsedef getpicname(path): ''' retrive filename of url ''' if os.path.splitex 阅读全文