triostones 最近的时间轴更新
triostones

triostones

V2EX 第 186832 号会员,加入于 2016-08-13 18:56:26 +08:00
triostones 最近回复了
2017-02-23 13:45:22 +08:00
回复了 sghcel 创建的主题 程序员 如何模拟人移动鼠标产生的的轨迹?
就算轨迹模型可以做出来,但是 webdriver 的执行和代码的执行貌似不是同步的。
代码上设定两点间歌 0.5 秒, webdriver 执行的间隔可能是 1 秒。
@kafka0102 用 webdriver 的爬虫会执行 js 的。
2016-11-20 14:03:42 +08:00
回复了 mokeyjay 创建的主题 Python Python 到底学 2 还是学 3 好?很多第三方库不兼容 3?
3
2016-11-13 18:01:40 +08:00
回复了 rogwan 创建的主题 Python 有这样一个 list,怎么把列表中的字典进行排序?
In [12]: import heapq

In [13]: from operator import itemgetter

In [14]: scores = [ {'student_name': 'zhangsan', 'student_score': 65}, {'student_name': 'lisi', 'student_score': 95}, {'student_name':'wangwu', 'student_score': 80}, {'student_name': 'maliu', 'student_sco
...: re': 75}, {'student_name': 'zhuqi', 'student_score': 88} ]

In [15]: heapq.nlargest(3, scores, key=itemgetter('student_score'))
Out[15]:
[{'student_name': 'lisi', 'student_score': 95},
{'student_name': 'zhuqi', 'student_score': 88},
{'student_name': 'wangwu', 'student_score': 80}]
2016-10-28 23:30:12 +08:00
回复了 wico77 创建的主题 Python 如何在 python 里运行 js 代码?
Selenium.
2016-08-17 23:42:27 +08:00
回复了 liuxu 创建的主题 Linux 谁有 linux 下捕获 302 跳转的软件
有 sitemap 或能生成 sitemap 吗?用 2 楼的方法去检查 sitemap 中的每个 url ?
2016-08-17 18:32:20 +08:00
回复了 liuxu 创建的主题 Linux 谁有 linux 下捕获 302 跳转的软件
Wireshark ?
2016-08-17 18:26:35 +08:00
回复了 zmrenwu 创建的主题 Linux Ubuntu 16.04 下安装 virtualenv 用哪个命令?有什么区别?
推荐 pyenv 。自动 activate , pyenv shell 又能灵活切换 env 。
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5981 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 02:16 · PVG 10:16 · LAX 19:16 · JFK 22:16
Developed with CodeLauncher
♥ Do have faith in what you're doing.