码迷,mamicode.com
首页 >  
搜索关键字:not find    ( 24186个结果
自动化框架——PO设计模式自学——第三种定位方法
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
085_如何获取option的双目标签值?
<select id="save"> <option value="哈哈}">看看</option> </select> $("#select").change(function () { //收集参数,this代表的是select标签 var stageText=$(this).find("opt ...
分类:其他好文   时间:2020-03-31 20:50:09    阅读次数:74
最短编辑距离 72.EditDistance.md
题目描述 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
beautiful soup中想要精准查询class。比如<li class='table_col font_gray'> 和 <li class='table_col'>,需要前者。
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
Find a multiple POJ - 2356 容斥原理(鸠巢原理)
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
MySql 根据节点查询父节点或子节点
根据节点查询所有子节点 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字符串
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
Leetcode 220. 存在重复元素 III (Contains Duplicate III)
题目 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
第二十二节 web服务器里集成了解析动态请求的功能
import socket import multiprocessing import re ''' WSGI协议 浏览器,http请求动态资源→web服务器(通过wsgi调用一个默认的application函数(字典, 函数名)) ''' class WSGIServer(): def __ini ...
分类:Web程序   时间:2020-03-31 01:09:51    阅读次数:88
Vue学习问题(一)——Run `npm rebuild node-sass` to download the binding for your current environ问题
当使用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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!