码迷,mamicode.com
首页 >  
搜索关键字:could not find driver    ( 34312个结果
Wireshark-抓包工具介绍
软件下载 https://www.wireshark.org/#download 选择对应的版本下载 mac装了Wireshark,一直以来使用都没有遇到问题,电脑系统升级后再次使用时,无论选择有线还是无线网卡,均抓包失败,弹出提示“the capture session could not be ...
分类:其他好文   时间:2020-05-10 21:19:23    阅读次数:118
[ARC066B] Xor Sum —— 递归
"Problem Statement" You are given a positive integer $N$. Find the number of the pairs of integers $u$ and $v(0≤u,v≤N)$such that there exist two non n ...
分类:其他好文   时间:2020-05-10 19:32:45    阅读次数:67
海工录取分数线
1.数据描述 想了想决定爬一下海工的录取分数线,但是刚开始只能爬出数据,没有办法转化为列表形式,于是在网上找了很多方法,也参考了一下同学的,终于将其转化为列表形式得了。 for tr in data: lt=[] lg=[] ltd=tr.find_all('td') if len(ltd)==0: ...
分类:其他好文   时间:2020-05-10 19:26:39    阅读次数:67
Spark读取Mysql,Redis,Hbase数据(一)
1、读取Mysql数据 object JdbcRddDemo { def getConn() = { Class.forName("com.mysql.jdbc.Driver").newInstance() DriverManager.getConnection("jdbc:mysql://hado ...
分类:数据库   时间:2020-05-10 17:31:37    阅读次数:97
webdriver中弹框使用
webdriver中弹框 1 #1:定位alert弹出框 2 #点击页面元素,触发alert弹出框 3 driver.find_element_by_xpath('//*[@id="alert"]').click() 4 time.sleep(3) 5 #等待alert弹出框可见 6 WebDriv ...
分类:Web程序   时间:2020-05-10 17:13:26    阅读次数:78
LeetCode #234. Palindrome Linked List 链表 栈 链表逆置
Description Given a singly linked list, determine if it is a palindrome. Example 1: Example 2: Follow up: Could you do it in O(n) time and O(1) space? ...
分类:其他好文   时间:2020-05-10 15:24:52    阅读次数:77
LINIUX 查询命令的 区别 chich whereis locate fing
我们经常在linux要查找某个文件,但不知道放在哪里了,可以使用下面的一些命令来搜索: which 查看可执行文件的位置。 whereis 查看文件的位置。 locate 配合数据库查看文件位置。 find 实际搜寻硬盘查询文件名称。 which命令的作用是,在PATH变量指定的路径中,搜索某个系统 ...
分类:其他好文   时间:2020-05-10 10:36:49    阅读次数:56
python爬虫-Re正则表达式介绍和实际应用
0、前言 我们知道每个语言都有自己的内建函数来对字符串进行处理。通过这些内建函数我们可以对字符串进行一些简单的处理,从而达到数据清洗等目的。在Python中有index()——定位、 find()——查找、split()——分隔、 count()——计数、 replace()——替换等。但这些方法都 ...
分类:编程语言   时间:2020-05-10 00:56:56    阅读次数:81
面试题57 - II. 和为s的连续正数序列
题目: 解答: 1 class Solution { 2 public: 3 vector<vector<int>> findContinuousSequence(int target) 4 { 5 int i = 1; // 滑动窗口的左边界 6 int j = 1; // 滑动窗口的右边界 7 ...
分类:其他好文   时间:2020-05-09 21:30:07    阅读次数:59
webdriver 解决shadow-root获取chrome下载项
def _return_element(self, ele): return self.driver.driver.execute_script("return arguments[0].shadowRoot", ele) def verify_dl(self): """ 返回最近一个下载,目前仅支 ...
分类:Web程序   时间:2020-05-09 20:54:14    阅读次数:167
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!