在学习了网易云课堂上崔庆才老师的Python3爬虫三大案例实战分享之后模仿了一段代码,PhantomJS和MongoDB还没学,暂时没放进去,用pandas代替。 ...
分类:
其他好文 时间:
2018-03-16 18:36:23
阅读次数:
218
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.Collecting requests Could not fetch URL https ...
分类:
编程语言 时间:
2018-03-14 22:13:59
阅读次数:
344
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/site-packages/selenium/__init__.py", line 18, in ...
分类:
其他好文 时间:
2018-03-13 21:09:27
阅读次数:
890
1 Summary The present perfect is an important verb tense in English. It is used to talk about things that happened at unspecified times in the past. T ...
分类:
其他好文 时间:
2018-03-13 12:14:46
阅读次数:
191
1、sleep()方法 Thread.sleep(60000)强制等待60s 2、隐式等待implicitlyWait() driver.manage().timeouts().implicitlyWait(30,TimeUnit.SECONDS);全局等待30s不管元素是否已经加载1) 当使用了隐 ...
分类:
移动开发 时间:
2018-03-11 14:20:02
阅读次数:
262
Part 1 if判断语句 语法规则 eg: Part 2 缩进 缩进错误: 未缩进: IndentationError:expected an indented block tab != 四个空格: IndentationError:unident dose not match any outer ...
分类:
编程语言 时间:
2018-03-10 18:47:38
阅读次数:
213
前言 如果你是一个完美主义者,那么请绕过此文,请参考《深度学习篇——Tensorflow配置(完美主义模式)》 安装 pip install tensorflow ok,只要不报错,安装就完成了,就可以用了。 错误填坑(不断更新) 1.pip错误:TypeError: parse() got an ...
分类:
其他好文 时间:
2018-03-07 14:57:50
阅读次数:
1174
转:python argparse用法总结 1. argparse介绍 argparse是python的一个命令行解析包,非常编写可读性非常好的程序 2. 基本用法 prog.py是我在linux下测试argparse的文件,放在/tmp目录下,其内容如下: 测试: 第一个没有任何输出和出错 第二个 ...
分类:
编程语言 时间:
2018-03-04 14:40:50
阅读次数:
206
今天在redis中执行setrange name 1 chun 命令时报了如下错误提示: (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. ...
分类:
数据库 时间:
2018-03-03 20:33:39
阅读次数:
250
Metaprogramming https://en.wikipedia.org/wiki/Metaprogramming 愿编程, 是一中编程技术, 制造的计算机程序,具有能力, 对待程序为他们的数据。 针对程语言的编程技术。 Metaprogramming is a programming te ...
分类:
Web程序 时间:
2018-03-02 01:23:04
阅读次数:
241