import time from selenium import webdriver driver = webdriver.Firefox() driver.get('http://www.baidu.com') time.sleep(5) driver.find_element('id','kw' ...
分类:
其他好文 时间:
2020-03-31 21:07:19
阅读次数:
79
<select id="save"> <option value="哈哈}">看看</option> </select> $("#select").change(function () { //收集参数,this代表的是select标签 var stageText=$(this).find("opt ...
分类:
其他好文 时间:
2020-03-31 20:50:09
阅读次数:
74
题目描述 Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 operations pe ...
分类:
其他好文 时间:
2020-03-31 18:48:00
阅读次数:
81
soup.find_all(lambda tag: tag.name=='li' and tag.get('class')==['table_col']) bs中使用的是模糊匹配,所以查到为所有的包括table_col的所有<li> ...
分类:
其他好文 时间:
2020-03-31 14:21:59
阅读次数:
50
1 /* 2 这道题用到了鸠巢原理又名容斥原理,我的参考链接:https://blog.csdn.net/guoyangfan_/article/details/102559097 3 4 题意: 5 这道题给你了n个数,让你找这n个数中有没有几个数的和是n的倍数 6 7 题解: 8 你循环遍历一遍 ...
分类:
其他好文 时间:
2020-03-31 14:19:18
阅读次数:
80
根据节点查询所有子节点 CREATE DEFINER=`root`@`localhost` FUNCTION `getChildList`(rootId varchar(100)) RETURNS varchar(2000) CHARSET latin1 BEGIN DECLARE str varc ...
分类:
数据库 时间:
2020-03-31 12:44:32
阅读次数:
289
Python 判断字符串是否含有指定字符or字符串 ,有如下方法: 1、使用成员操作符 in str1= "ABCDEF123descsf" str2= "CD" result = str2 in str1 print(result) # True 2、使用string模块的find() rfind ...
分类:
编程语言 时间:
2020-03-31 01:33:03
阅读次数:
134
题目 Given an array of integers, find out whether there are two distinct indices i and j in the array such that the absolute difference between and is a ...
分类:
其他好文 时间:
2020-03-31 01:13:11
阅读次数:
88
import socket import multiprocessing import re ''' WSGI协议 浏览器,http请求动态资源→web服务器(通过wsgi调用一个默认的application函数(字典, 函数名)) ''' class WSGIServer(): def __ini ...
分类:
Web程序 时间:
2020-03-31 01:09:51
阅读次数:
88
当使用npm运行Vue项目时候出现问题Run `npm rebuild node-sass` to download the binding for your current environ时, Node Sass could not find a binding for your current ...
分类:
其他好文 时间:
2020-03-30 21:37:00
阅读次数:
408