BeautifulSoup网页解析库 from bs4 import BeautifulSoup 0.BeautifulSoup网页解析库包含 的 几个解析器 Python标准库【主要,系统自带;】 使用方法: BeautifulSoup(markup,"html.parser")【注:markup ...
分类:
编程语言 时间:
2018-03-18 16:23:04
阅读次数:
245
Post请求 在服务中解析Post请求参数 ...
分类:
Web程序 时间:
2018-03-16 00:22:09
阅读次数:
282
3月15日 【如何读取配置文件】 读取配置总是报错,后检查环境变量 ,将库文件考入即可无法导入 configparser模块,import configparser报错解. 在Python2下,需要大写:import ConfigParser在PYthon3下,需要小写:import configp ...
分类:
其他好文 时间:
2018-03-15 14:17:15
阅读次数:
131
---title: 博弈论 斯坦福game theory stanford week 4-1tags: notenotebook: 6- 英文课程-15-game theory--- # 博弈论 斯坦福game theory stanford week 4-1 ## 最后通牒式议价 他的形式是这样的... ...
分类:
其他好文 时间:
2018-03-14 14:53:38
阅读次数:
184
【python】统一转换日期格式dateutil.parser.parse 背景: 我有很多很多的日志数据,每个日志里面都有日期字符串,我需要将其转换为datetime格式。 问题是,这些日志里的字符串格式五花八门,有2017-05-25T05:27:30.313292255Z,有2016-07-0 ...
分类:
编程语言 时间:
2018-03-14 12:53:19
阅读次数:
307
---title: 博弈论 斯坦福game theory stanford week 4-0tags: notenotebook: 6- 英文课程-15-game theory--- # 博弈论 斯坦福game theory stanford week 4-0 ## perfect informat... ...
分类:
其他好文 时间:
2018-03-13 22:49:47
阅读次数:
237
优化器optimizers
优化器是编译Keras模型必要的两个参数之一
from keras import optimizers
model = Sequential()
model.add(Dense(64, kernel_initializer='uniform', input_shape... ...
分类:
其他好文 时间:
2018-03-10 22:05:27
阅读次数:
1699
将代码拷贝到服务器上运行,发生错误提示需要新安装parser library. 查看代码中发现有以下内容: 安装解析库即可: ...
分类:
其他好文 时间:
2018-03-07 13:30:08
阅读次数:
1517
1.用Centos镜像搭建本地yum源在配置网络yum之前我们先卸载旧的yum,并下载CentOS的对应软件包安装,这一步配置yum源都要操作[root@localhosttools]#rpm-aq|grepyumyum-metadata-parser-1.1.2-16.el6.x86_64yum-rhn-plugin-0.9.1-58.el6.noarchyum-3.2.29-69.el6.no
分类:
其他好文 时间:
2018-03-07 00:45:39
阅读次数:
438
---title: 博弈论 斯坦福game theory stanford week 3-1tags: notenotebook: 6- 英文课程-15-game theory--- # 博弈论 斯坦福game theory stanford week 3-1 ## 最大最小策略 这是一种相对比较保... ...
分类:
其他好文 时间:
2018-03-06 19:10:19
阅读次数:
145