摘要:
import numpy as npimport matplotlib.pyplot as pltfrom pylab import mplfrom matplotlib.font_manager import FontPropertiesfont = FontProperties(fname=r" 阅读全文
摘要:
# -*- coding: utf-8 -*-import scrapyimport urllib.requestimport reimport randomfrom jdgoods.items import JdgoodsItemfrom lxml import etreefrom scrapy. 阅读全文
摘要:
# -*- coding: utf-8 -*-import scrapyfrom scrapy.http import Request,FormRequestimport urllib.requestclass DbSpider(scrapy.Spider): name = 'db' allowed 阅读全文
摘要:
matplotlib 绘图颜色和样式 阅读全文
摘要:
import scrapyfrom scrapy.http import Request,FormRequestclass TySpider(scrapy.Spider): name = 'ty' allowed_domains = ['iqianyue.com'] #start_urls = [' 阅读全文
摘要:
from pptx import Presentationfrom pptx.util import Ptfrom docx.shared import Inchesprs=Presentation() slide=prs.slides.add_slide(prs.slide_layouts[1]) 阅读全文
摘要:
items.py 数据条目 import scrapy 阅读全文
摘要:
import relst = ['http://img3m9.ddimg.cn/53/33/1354578839-1_x.jpg', 'http://img3m9.ddimg.cn/63/34/1354579839-1_x.jpg', 'http://img3m9.ddimg.cn/70/31/13 阅读全文
摘要:
import urllib.requestimport reimport randomimport urllib.erroruapools=[ 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; 360SE)', 'Mozilla/5.0 (Win 阅读全文
摘要:
import urllib.requestimport reimport randomimport urllib.erroruapools=[ 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; 360SE)', 'Mozilla/5.0 (Win 阅读全文