摘要:
```python
from selenium import webdriver
import csv def get_pages_numger(browser): res = browser.find_elements_by_xpath('//div[@class="page-component"]/a[7]') return int(res.text) def g... 阅读全文
posted @ 2016-07-26 20:11
罗兵
阅读(645)
评论(0)
推荐(0)
摘要:
```python
import csv # ==============================
# list to csv
# ==============================
a = [1,2,3,4,5,6]
b = list(range(1,70,10))
c = list('ABCDEF') d = sorted(zip(a, b, c)) with ope... 阅读全文
posted @ 2016-07-26 19:16
罗兵
阅读(499)
评论(0)
推荐(0)
摘要:
今天,python 3 安装 scrapy, 并运行成功。特此纪念! 我的环境:windows 10(64位) + python 3.5.2(64位) 其中几个要点说明一下: 1、有几个依赖库需要事先单独安装 往往,在安装scrapy依赖库,即在 过程中,会出现红色错误的。此时,做两件事 1. 更新 阅读全文
posted @ 2016-07-26 12:23
罗兵
阅读(988)
评论(6)
推荐(0)
浙公网安备 33010602011771号